From 42a8be4202f0cfe47b70023255bc884c31160580 Mon Sep 17 00:00:00 2001 From: piro Date: Mon, 11 May 2009 05:44:31 +0000 Subject: [PATCH] =?UTF-8?q?=E8=A4=87=E6=95=B0=E3=81=AE=E3=82=BF=E3=83=96?= =?UTF-8?q?=E3=82=92=E5=90=8C=E6=99=82=E3=81=AB=E9=96=89=E3=81=98=E3=82=8B?= =?UTF-8?q?=E8=AD=A6=E5=91=8A=E3=81=AE=E3=83=80=E3=82=A4=E3=82=A2=E3=83=AD?= =?UTF-8?q?=E3=82=B0=E3=81=AB=E8=A1=A8=E7=A4=BA=E3=81=95=E3=82=8C=E3=82=8B?= =?UTF-8?q?=E3=82=BF=E3=83=96=E3=81=AE=E6=95=B0=E3=81=8C=E5=AE=9F=E9=9A=9B?= =?UTF-8?q?=E3=81=AB=E9=96=89=E3=81=98=E3=82=89=E3=82=8C=E3=82=8B=E3=82=BF?= =?UTF-8?q?=E3=83=96=E3=81=AE=E6=95=B0=E3=81=A8=E7=95=B0=E3=81=AA=E3=82=8B?= =?UTF-8?q?=E5=A0=B4=E5=90=88=E3=81=8C=E3=81=82=E3=81=A3=E3=81=9F=E3=81=AE?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= 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@4396 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletabbrowser.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 55516dc4..fee4e96e 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -460,7 +460,11 @@ TreeStyleTabBrowser.prototype = { eval('b.warnAboutClosingTabs = '+ b.warnAboutClosingTabs.toSource().replace( - 'var numTabs = ', 'var numTabs = this.__treestyletab__closedTabsNum || ' + 'var numTabs = ', + 'var numTabs = this.__treestyletab__closedTabsNum || ' + ).replace( + '--tabsToClose', + 'if (numTabs == this.mTabs.length) { $&; }' ) );