[Pkg-javascript-commits] [pdf.js] 55/72: Make presentation mode work again in Safari

David Prévot taffit at moszumanska.debian.org
Wed Mar 18 20:16:00 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 230d8c40e4f287564f66085a37bc8940a75f796b
Author: Tim van der Meij <timvandermeij at gmail.com>
Date:   Fri Mar 13 21:29:26 2015 +0100

    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 0c3253b..f94ef7b 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 {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list