Bug 980043 - Backed out changeset 7e0adf1211a7 (bug 905695). r=MattN

This commit is contained in:
Jared Wein 2014-05-27 12:56:00 +02:00
parent b72e0cdd15
commit 8fac0fcbc2

View File

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