diff options
Diffstat (limited to 'test/integration/data')
-rw-r--r-- | test/integration/data/gh-1764-fullscreen.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/data/gh-1764-fullscreen.js b/test/integration/data/gh-1764-fullscreen.js index c13c609f3..b2bb4cdb5 100644 --- a/test/integration/data/gh-1764-fullscreen.js +++ b/test/integration/data/gh-1764-fullscreen.js @@ -17,10 +17,10 @@ function bootstrapFrom( mainSelector, mode ) { document.webkitExitFullscreen; function isFullscreen() { - return !!(document.fullscreenElement || + return !!( document.fullscreenElement || document.mozFullScreenElement || document.webkitFullscreenElement || - document.msFullscreenElement); + document.msFullscreenElement ); } function requestFullscreen( element ) { @@ -82,7 +82,7 @@ function bootstrapFrom( mainSelector, mode ) { if ( isFullscreen() ) { exitFullscreen(); } else { - requestFullscreen( jQuery( mainSelector + " .container" )[0] ); + requestFullscreen( jQuery( mainSelector + " .container" )[ 0 ] ); } } |