From 7480757a0ff3f8472c7264ab68f0d5889d4a5d73 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 12 Feb 2016 19:26:26 +0900 Subject: [PATCH] Disable animation for temporary modification of tree --- modules/browser.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/browser.js b/modules/browser.js index 0788b97f..a352645a 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -5770,10 +5770,13 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { let groupTab = b.addTab(uri); if(parentTab) { this.attachTabTo(groupTab, parentTab, { - insertBefore : aTab + insertBefore : aTab, + dontAnimate : true }); } - this.attachTabTo(aTab, groupTab); + this.attachTabTo(aTab, groupTab, { + dontAnimate : true + }); parentTab = groupTab; aInfo.behavior = this.kCLOSE_PARENT_BEHAVIOR_PROMOTE_ALL_CHILDREN; }