[Pkg-mozext-commits] [tabmixplus] 03/44: Follow uo bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code

David Prévot taffit at moszumanska.debian.org
Fri Mar 18 20:57:13 UTC 2016


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit 575b75c36bd87dc343d71587cf8c301a6d03d27d
Author: onemen <tabmix.onemen at gmail.com>
Date:   Wed Feb 17 14:22:30 2016 +0200

    Follow uo bug 743198 part 8 - Use unprefixed Fullscreen API in chrome code
---
 chrome/content/tabmix.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index a75ec2e..11a4400 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -646,7 +646,9 @@ var TMP_eventListener = {
           ).toCode();
         }
       }
-      if (!document.mozFullScreen) {
+      let fullScreen = Tabmix.isVersion(470) ?
+          document.fullscreenElement : document.mozFullScreen;
+      if (!fullScreen) {
         fullScrToggler.hidden = false;
       }
     } else if (fullScrToggler && !enterFS) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/tabmixplus.git



More information about the Pkg-mozext-commits mailing list