Disable animation for temporary modification of tree
This commit is contained in:
parent
b4f153d083
commit
7480757a0f
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user