|
@@ -1995,10 +1995,10 @@
|
|
*/
|
|
*/
|
|
function enterFullscreen() {
|
|
function enterFullscreen() {
|
|
|
|
|
|
- var element = document.body;
|
|
|
|
|
|
+ var element = document.documentElement;
|
|
|
|
|
|
// Check which implementation is available
|
|
// Check which implementation is available
|
|
- var requestMethod = element.requestFullScreen ||
|
|
|
|
|
|
+ var requestMethod = element.requestFullscreen ||
|
|
element.webkitRequestFullscreen ||
|
|
element.webkitRequestFullscreen ||
|
|
element.webkitRequestFullScreen ||
|
|
element.webkitRequestFullScreen ||
|
|
element.mozRequestFullScreen ||
|
|
element.mozRequestFullScreen ||
|