This commit is contained in:
Piro / SHIMODA Hiroshi 2011-11-30 05:01:56 +09:00
parent 1ffd3fbb71
commit 5d379c12c3

View File

@ -370,7 +370,8 @@ TreeStyleTabBrowser.prototype = {
)
return;
if (!this.isVertical) {
var count = this.pinnedTabsCount;
if (!this.isVertical || !count) {
this.resetPinnedTabs();
b.mTabContainer._positionPinnedTabs();
return;
@ -381,7 +382,6 @@ TreeStyleTabBrowser.prototype = {
var maxWidth = tabbarPlaceHolderWidth || tabbarWidth;
var count = this.pinnedTabsCount;
var width = Math.min(maxWidth, aWidth || this.window.TreeStyleTabService.pinnedTabWidth);
if (width < 0)
width = maxWidth;