From ec075e6e8e6e88935c64a9d2947a6550d5383615 Mon Sep 17 00:00:00 2001 From: piro Date: Tue, 23 Mar 2010 19:13:33 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=83=90=E3=83=BC=E3=81=AE?= =?UTF-8?q?=E3=82=AA=E3=83=BC=E3=83=90=E3=83=BC=E3=83=95=E3=83=AD=E3=83=BC?= =?UTF-8?q?=E3=81=AE=E7=8A=B6=E6=85=8B=E3=81=8C=E6=9B=B4=E6=96=B0=E3=81=95?= =?UTF-8?q?=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA=E3=81=8B=E3=81=A3=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@6415 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 0c3bab9e..39e412f4 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -1209,10 +1209,15 @@ TreeStyleTabBrowser.prototype = { updateTabbarOverflow : function TSTBrowser_updateTabbarOverflow() { var b = this.mTabBrowser; - b.mTabContainer.removeAttribute('overflow'); // Firefox 3.0.x + b.mTabContainer.removeAttribute('overflow'); // Firefox 3.0.x / Firefox 3.7 var container = document.getAnonymousElementByAttribute(b.mTabContainer, 'class', 'tabs-container'); - if (!container) return; + if (!container) { + if (this.placeholder) + container = b.mTabContainer; + else + return; + } container.removeAttribute('overflow');