From af0637eaee1aa22621e356451285e9d0afec7092 Mon Sep 17 00:00:00 2001 From: piro Date: Wed, 8 Jul 2009 01:37:00 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E7=B8=A6=E6=A8=AA=E5=88=87=E3=82=8A=E6=9B=BF=E3=81=88=E6=99=82?= =?UTF-8?q?=E3=81=AB=E3=82=A4=E3=83=B3=E3=83=87=E3=83=B3=E3=83=88=E3=81=8C?= =?UTF-8?q?=E6=AD=A3=E3=81=97=E3=81=8F=E6=9B=B4=E6=96=B0=E3=81=95=E3=82=8C?= =?UTF-8?q?=E3=81=AA=E3=81=84=E5=A0=B4=E5=90=88=E3=81=8C=E3=81=82=E3=81=A3?= =?UTF-8?q?=E3=81=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://www.cozmixng.org/repos/piro/treestyletab/trunk@4671 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 3a87f09a..b84cb298 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -842,8 +842,6 @@ TreeStyleTabBrowser.prototype = { b.mStrip.removeAttribute('height'); b.mPanelContainer.removeAttribute('height'); - this.updateTabbarState(); - if (pos == this.kTABBAR_RIGHT) { b.setAttribute(this.kTABBAR_POSITION, 'right'); if (this.getTreePref('tabbar.invertTab')) { @@ -917,8 +915,6 @@ TreeStyleTabBrowser.prototype = { b.setAttribute(this.kMODE, this.getTreePref('tabbar.multirow') ? 'multirow' : 'horizontal' ); b.removeAttribute(this.kTAB_INVERTED); - this.updateTabbarState(); - if (pos == this.kTABBAR_BOTTOM) { b.setAttribute(this.kTABBAR_POSITION, 'bottom'); this.indentProp = this.getTreePref('indent.property.bottom'); @@ -947,6 +943,10 @@ TreeStyleTabBrowser.prototype = { this.updateTabCollapsed(aTab, aTab.getAttribute(this.kCOLLAPSED) == 'true', true); }, this); + window.setTimeout(function(aSelf) { + aSelf.updateTabbarState(); + }, 0, this); + b = null; pos = null; splitter = null;