From 4bcca0d787612d62c022d47028b827190751110e Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Wed, 18 Sep 2013 17:34:21 +0900 Subject: [PATCH] Support "hide tab bar only when one tab" again for Tab Mix Plus (#557) --- modules/browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/browser.js b/modules/browser.js index 839504b4..c4262884 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -1826,7 +1826,9 @@ TreeStyleTabBrowser.prototype = { prefs.getDefaultPref('browser.tabs.autoHide') !== null || // but "Hide Tab Bar With One Tab" provides it. // https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/ - 'hideTabBar' in this.window + 'hideTabBar' in this.window || + // Tab Mix Plus also provides it. + 'TabmixTabbar' in this.window && this.window.TabmixTabbar.hideMode > 0 ) && prefs.getPref('browser.tabs.autoHide') );