regression: on the startup, the tab bar was wrongly hidden.

This commit is contained in:
Piro / SHIMODA Hiroshi 2011-01-10 16:13:31 +09:00
parent 9635fc2154
commit 4eee5243f6

View File

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