Merge pull request #5838 from timvandermeij/safari-presentationmode

Make presentation mode work again in Safari
This commit is contained in:
Tim van der Meij 2015-03-13 21:54:50 +01:00
commit 1fb1a99a43

View File

@ -104,8 +104,8 @@ var PresentationMode = {
this.container.requestFullscreen();
} else if (this.container.mozRequestFullScreen) {
this.container.mozRequestFullScreen();
} else if (this.container.webkitRequestFullScreen) {
this.container.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT);
} else if (this.container.webkitRequestFullscreen) {
this.container.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);
} else if (this.container.msRequestFullscreen) {
this.container.msRequestFullscreen();
} else {