From 230d8c40e4f287564f66085a37bc8940a75f796b Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Fri, 13 Mar 2015 21:29:26 +0100 Subject: [PATCH] Make presentation mode work again in Safari --- web/presentation_mode.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/presentation_mode.js b/web/presentation_mode.js index 0c3253b34..f94ef7b08 100644 --- a/web/presentation_mode.js +++ b/web/presentation_mode.js @@ -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 {