when the grippy in the splitter of the tab bar, only the placeholder was expanded and tab bar wrongly kept itself collapsed.
This commit is contained in:
parent
01b34dc8b9
commit
835c496466
@ -1576,17 +1576,17 @@ TreeStyleTabBrowser.prototype = {
|
|||||||
{
|
{
|
||||||
aReason = aReason || this.kTABBAR_UPDATE_BY_UNKNOWN_REASON;
|
aReason = aReason || this.kTABBAR_UPDATE_BY_UNKNOWN_REASON;
|
||||||
|
|
||||||
if (this.splitter.collapsed || this.splitter.getAttribute('state') != 'collapsed') {
|
var splitter = this.splitter;
|
||||||
|
if (splitter.collapsed || splitter.getAttribute('state') != 'collapsed') {
|
||||||
this._tabStripPlaceHolder.collapsed =
|
this._tabStripPlaceHolder.collapsed =
|
||||||
this.splitter.collapsed =
|
splitter.collapsed =
|
||||||
(this.getPref('browser.tabs.autoHide') && this.getTabsArray(this.mTabBrowser).length == 1);
|
(this.getPref('browser.tabs.autoHide') && this.getTabsArray(this.mTabBrowser).length == 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
var strip = this.tabStrip;
|
var strip = this.tabStrip;
|
||||||
var collapsed = (
|
var collapsed = splitter.collapsed ?
|
||||||
(strip.collapsed) ||
|
strip.collapsed :
|
||||||
(this.splitter && this.splitter.getAttribute('state') == 'collapsed')
|
splitter.getAttribute('state') == 'collapsed' ;
|
||||||
);
|
|
||||||
var stripStyle = strip.style;
|
var stripStyle = strip.style;
|
||||||
var tabContainerBox = this.getTabContainerBox(this.mTabBrowser);
|
var tabContainerBox = this.getTabContainerBox(this.mTabBrowser);
|
||||||
var statusPanel = document.getElementById('statusbar-display');
|
var statusPanel = document.getElementById('statusbar-display');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user