diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index bab1e606..85bca642 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -2554,8 +2554,10 @@ TreeStyleTabBrowser.prototype = { var parent = this.getParentTab(aTab); if (parent && aTab.hidden != parent.hidden) { this.collapseExpandTab(aTab, false, true); - let target = parent.hidden && aChangedTabs.indexOf(parent) > -1 ? - parent : aTab ; + let target = ( + parent.hidden && + aChangedTabs.indexOf(parent) > -1 + ) ? parent : aTab ; this.partAllChildren(target, { behavior : parent ? this.getTreePref('closeParentBehavior') :