[Pkg-mozext-commits] [tabmixplus] 61/107: Update changeset 766a9da39bc3, block calls to toggleTabbarVisibility when 'fullscr-bottom-toggler' does not exist

David Prévot taffit at moszumanska.debian.org
Tue Dec 29 19:02:51 UTC 2015


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

taffit pushed a commit to branch master
in repository tabmixplus.

commit ee60b5f507c64e9d2b56f2cbfe41c9572daa91b7
Author: onemen <tabmix.onemen at gmail.com>
Date:   Tue Nov 10 18:06:50 2015 +0200

    Update changeset 766a9da39bc3, block calls to toggleTabbarVisibility when 'fullscr-bottom-toggler' does not exist
---
 chrome/content/tabmix.js | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/chrome/content/tabmix.js b/chrome/content/tabmix.js
index 3db92cf..da16c6a 100644
--- a/chrome/content/tabmix.js
+++ b/chrome/content/tabmix.js
@@ -709,9 +709,10 @@ var TMP_eventListener = {
 
   // for tabs bellow content
   toggleTabbarVisibility: function(aShow, aAnimate) {
-    if (TabmixTabbar.position != 1)
-      return;
     let fullScrToggler = document.getElementById("fullscr-bottom-toggler");
+    if (TabmixTabbar.position != 1 || !fullScrToggler) {
+      return;
+    }
     fullScrToggler.hidden = aShow;
     let bottomToolbox = document.getElementById("tabmix-bottom-toolbox");
     if (aShow) {

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