From f8963a08e501a2acedbcec00c51879334bbe2194 Mon Sep 17 00:00:00 2001 From: KaiSD Date: Wed, 4 Sep 2019 07:51:04 +0200 Subject: [PATCH] =?UTF-8?q?=D0=98=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20'ace/index.html'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ace/index.html | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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; +