[Pkg-mozext-commits] [all-in-one-sidebar] 15/29: Fix #9: settings for fullscreen mode are ignored

David Prévot taffit at moszumanska.debian.org
Thu Oct 29 14:40:38 UTC 2015


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

taffit pushed a commit to branch master
in repository all-in-one-sidebar.

commit 67f580c582b674c704b00071752a6dfca9fc567c
Author: Ingo Wennemaring <github at addonlab.com>
Date:   Sun Oct 4 12:27:46 2015 +0200

    Fix #9: settings for fullscreen mode are ignored
---
 content/aios_old.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/content/aios_old.js b/content/aios_old.js
index f3e2803..60b62f2 100644
--- a/content/aios_old.js
+++ b/content/aios_old.js
@@ -1,7 +1,8 @@
 
 window.addEventListener("load", aios_initSidebar, false);
 window.addEventListener("resize", aios_checkThinSwitch, false);
-window.addEventListener("mozfullscreenchange", aios_BrowserFullScreen, false);
+window.addEventListener("fullscreen", aios_BrowserFullScreen, false);
+//window.addEventListener("mozfullscreenchange", aios_BrowserFullScreen, false);
 
 // sonst werden neu definierte Shortcuts bei Browser-Neustart zurueckgesetzt
 extLoad.add(30, function() {
@@ -720,7 +721,7 @@ function aios_BrowserFullScreen() {
 
     // Fullscreen an
     //  => Elemente ausblenden
-    if(document.mozFullScreenElement) {
+    if(document.mozFullScreenElement || window.fullScreen) {
 
         // Fix für mehrmaliges feuern des mozfullscreenchange events
         aios_leaveFullScreen = 0;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/all-in-one-sidebar.git



More information about the Pkg-mozext-commits mailing list