Support "hide tab bar only when one tab" again for Tab Mix Plus (#557)

This commit is contained in:
YUKI Hiroshi 2013-09-18 17:34:21 +09:00
parent a641d748c7
commit 4bcca0d787

View File

@ -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')
);