diff --git a/ace/index.html b/ace/index.html index 924ab4f..2a9f858 100644 --- a/ace/index.html +++ b/ace/index.html @@ -50,7 +50,8 @@
- + +
@@ -98,13 +99,8 @@ } }); - window.editor = editor; - /* Get the element you want displayed in fullscreen mode (a video in this example): */ - var elem = document.documentElement; - - /* When the openFullscreen() function is executed, open the video in fullscreen. - Note that we must include prefixes for different browsers, as they don't support the requestFullscreen method yet */ function openFullscreen() { + var elem = document.documentElement; if (elem.requestFullscreen) { elem.requestFullscreen(); } else if (elem.mozRequestFullScreen) { /* Firefox */ @@ -116,7 +112,8 @@ } } - openFullScreen(); + window.editor = editor; +