diff options
-rw-r--r-- | src/library_browser.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/library_browser.js b/src/library_browser.js index 9283913f..ec293a13 100644 --- a/src/library_browser.js +++ b/src/library_browser.js @@ -86,6 +86,7 @@ mergeInto(LibraryManager.library, { requestFullScreen: function() { var canvas = Module.canvas; function fullScreenChange() { + if (Module['onFullScreen']) Module['onFullScreen'](); if (document['webkitFullScreenElement'] === canvas || document['mozFullScreenElement'] === canvas || document['fullScreenElement'] === canvas) { |