[Pkg-mozext-commits] [all-in-one-sidebar] 07/49: Major: fix #2 sidebar switch and toolbar visible in fullscreen mode when playing HTML5 videos

David Prévot taffit at moszumanska.debian.org
Fri Sep 19 16:46:32 UTC 2014


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 31870dbd1a783e7a59188c9846f475a5e1d96674
Author: Ingo Wennemaring <github at addonlab.com>
Date:   Sun Aug 4 00:06:27 2013 +0200

    Major: fix #2 sidebar switch and toolbar visible in fullscreen mode when playing HTML5 videos
---
 content/aios.js | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/content/aios.js b/content/aios.js
index 89b6ba2..e681df2 100644
--- a/content/aios.js
+++ b/content/aios.js
@@ -202,13 +202,8 @@ function aios_initSidebar() {
     // Sidebar-Ladezustand ueberwachen
     /*document.getElementById('sidebar').addProgressListener(aiosSBListener, Components.interfaces.nsIWebProgress.NOTIFY_STATE_DOCUMENT);*/
 
-    // BrowserFullScreen erweitern (Verhalten der Sidebar, Sidebar-Switch, usw.)
-    var fx_BrowserFullScreen = BrowserFullScreen;
-    BrowserFullScreen = function() {
-        //if(!window.fullScreen) fx_maximizedWindow = fx_mainWindow.getAttribute('sizemode') == "maximized";
-        fx_BrowserFullScreen();
-        aios_BrowserFullScreen();
-    };
+    // BrowserFullScreen überwachen
+    window.addEventListener( "sizemodechange", aios_BrowserFullScreen );
 
     // Drag&Drop-Funktion fuer den Sidebar-Umschalter deaktivieren?
     try {

-- 
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