Fix indent

This commit is contained in:
YUKI Hiroshi 2013-09-18 17:43:41 +09:00
parent 8bce1239b3
commit 5d54fd5a38

View File

@ -1820,19 +1820,19 @@ TreeStyleTabBrowser.prototype = {
var splitter = this.splitter; var splitter = this.splitter;
if (splitter.collapsed || splitter.getAttribute('state') != 'collapsed') { if (splitter.collapsed || splitter.getAttribute('state') != 'collapsed') {
let shouldAutoHideForSingleTab = ( let shouldAutoHideForSingleTab = (
(
// "autohide for single tab" feature is removed on Firefox 23.
// https://bugzilla.mozilla.org/show_bug.cgi?id=855370
( (
prefs.getDefaultPref('browser.tabs.autoHide') !== null || // "autohide for single tab" feature is removed on Firefox 23.
// but "Hide Tab Bar With One Tab" provides it. // https://bugzilla.mozilla.org/show_bug.cgi?id=855370
// https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/ (
'hideTabBar' in this.window prefs.getDefaultPref('browser.tabs.autoHide') !== null ||
) && // but "Hide Tab Bar With One Tab" provides it.
prefs.getPref('browser.tabs.autoHide') // https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/
) || 'hideTabBar' in this.window
// Tab Mix Plus also provides it. ) &&
'TabmixTabbar' in this.window && this.window.TabmixTabbar.hideMode > 0 prefs.getPref('browser.tabs.autoHide')
) ||
// Tab Mix Plus also provides it.
'TabmixTabbar' in this.window && this.window.TabmixTabbar.hideMode > 0
); );
this._tabStripPlaceHolder.collapsed = this._tabStripPlaceHolder.collapsed =
splitter.collapsed = splitter.collapsed =