From 79dc211f828fe17f3556b87428e2abbfb7108fe1 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Wed, 1 Dec 2010 18:09:07 +0900 Subject: [PATCH] always collapse/expand tabs with animation, if animation effect is allowed --- content/treestyletab/treestyletabbrowser.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 816be855..cd68eb29 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -4602,9 +4602,9 @@ TreeStyleTabBrowser.prototype = { if ( !this.animationEnabled || aJustNow || - this.collapseDuration < 1 || + this.collapseDuration < 1 // || // !this.isVertical || - !this.canCollapseSubtree(this.getParentTab(aTab)) +// !this.canCollapseSubtree(this.getParentTab(aTab)) ) { if (aCollapsed) aTab.setAttribute(this.kCOLLAPSED_DONE, true);