parent
ce777e4c4b
commit
a12a17b2d7
@ -47,12 +47,6 @@ body {
|
||||
background-color: #fff;
|
||||
color: #000; }
|
||||
|
||||
html:-webkit-full-screen-ancestor {
|
||||
background-color: inherit; }
|
||||
|
||||
html:-moz-full-screen-ancestor {
|
||||
background-color: inherit; }
|
||||
|
||||
/*********************************************
|
||||
* VIEW FRAGMENTS
|
||||
*********************************************/
|
||||
|
@ -57,15 +57,6 @@ body {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
// Ensures that the main background color matches the
|
||||
// theme in fullscreen mode
|
||||
html:-webkit-full-screen-ancestor {
|
||||
background-color: inherit;
|
||||
}
|
||||
html:-moz-full-screen-ancestor {
|
||||
background-color: inherit;
|
||||
}
|
||||
|
||||
|
||||
/*********************************************
|
||||
* VIEW FRAGMENTS
|
||||
|
@ -1980,10 +1980,10 @@
|
||||
*/
|
||||
function enterFullscreen() {
|
||||
|
||||
var element = document.body;
|
||||
var element = document.documentElement;
|
||||
|
||||
// Check which implementation is available
|
||||
var requestMethod = element.requestFullScreen ||
|
||||
var requestMethod = element.requestFullscreen ||
|
||||
element.webkitRequestFullscreen ||
|
||||
element.webkitRequestFullScreen ||
|
||||
element.mozRequestFullScreen ||
|
||||
|
Loading…
Reference in New Issue
Block a user