From ee0d316e2bbe3face78c32b2816d47be62a9089b Mon Sep 17 00:00:00 2001 From: piro Date: Sun, 20 Dec 2009 17:02:40 +0000 Subject: [PATCH] =?UTF-8?q?=E3=82=BF=E3=83=96=E3=82=92=E9=96=89=E3=81=98?= =?UTF-8?q?=E3=82=89=E3=82=8C=E3=81=AA=E3=81=8F=E3=81=AA=E3=81=A3=E3=81=A6?= =?UTF-8?q?=E3=81=84=E3=81=9F=EF=BC=88regression=EF=BC=89?= 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@5564 599a83e7-65a4-db11-8015-0010dcdd6dc2 --- content/treestyletab/treestyletab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index 48a8f2d0..4ebb45ce 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -2474,7 +2474,7 @@ catch(e) { shouldCloseTabSubTreeOf : function(aTab) { return ( - aTab && + this.hasChildTabs(aTab) && ( this.getTreePref('closeParentBehavior') == this.CLOSE_PARENT_BEHAVIOR_CLOSE || this.isSubtreeCollapsed(aTab)