From 4eee5243f6318d2a32dd7b5ff766c4a663393403 Mon Sep 17 00:00:00 2001 From: Piro / SHIMODA Hiroshi Date: Mon, 10 Jan 2011 16:13:31 +0900 Subject: [PATCH] regression: on the startup, the tab bar was wrongly hidden. --- content/treestyletab/treestyletabbrowser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 8353f33a..813ac7e5 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -1244,7 +1244,9 @@ TreeStyleTabBrowser.prototype = { this.mTabBrowser.getAttribute(this.kFIXED) != 'true') { strip.setAttribute('layer', true); // https://bugzilla.mozilla.org/show_bug.cgi?id=590468 - if (this.autoHide.expanded && (aReason & this.kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER)) + if (this.autoHide.expanded && + (aReason & this.kTABBAR_UPDATE_SYNC_TO_PLACEHOLDER) && + this.autoHide.mode == this.autoHide.kMODE_SHRINK) this.autoHide.hide(); let box = this._tabStripPlaceHolder.boxObject;