mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 980043 - Backed out changeset 7e0adf1211a7 (bug 905695). r=MattN
This commit is contained in:
parent
b72e0cdd15
commit
8fac0fcbc2
@ -3336,11 +3336,8 @@
|
||||
<handler event="overflow"><![CDATA[
|
||||
if (event.detail == 0)
|
||||
return; // Ignore vertical events
|
||||
var tabs = document.getBindingParent(this);
|
||||
var numberOfTabs = tabs.tabbrowser.visibleTabs.length;
|
||||
if (numberOfTabs == 1)
|
||||
return;
|
||||
|
||||
var tabs = document.getBindingParent(this);
|
||||
tabs.setAttribute("overflow", "true");
|
||||
tabs._positionPinnedTabs();
|
||||
tabs._handleTabSelect(false);
|
||||
@ -3860,7 +3857,6 @@
|
||||
|
||||
TabsInTitlebar.updateAppearance();
|
||||
|
||||
if (this.tabbrowser.visibleTabs.length > 1) {
|
||||
var width = this.mTabstrip.boxObject.width;
|
||||
if (width != this.mTabstripWidth) {
|
||||
this.adjustTabstrip();
|
||||
@ -3868,7 +3864,6 @@
|
||||
this._handleTabSelect();
|
||||
this.mTabstripWidth = width;
|
||||
}
|
||||
}
|
||||
|
||||
this.tabbrowser.updateWindowResizers();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user