Browse Source

Make presentation mode work again in Safari

Tim van der Meij 10 years ago
parent
commit
230d8c40e4
  1. 4
      web/presentation_mode.js

4
web/presentation_mode.js

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

Loading…
Cancel
Save