diff --git a/content/treestyletab/treestyletabbrowser.js b/content/treestyletab/treestyletabbrowser.js index 01b6c368..0e57e89a 100644 --- a/content/treestyletab/treestyletabbrowser.js +++ b/content/treestyletab/treestyletabbrowser.js @@ -1524,7 +1524,8 @@ TreeStyleTabBrowser.prototype = { this.partTab(aTab, true); } ), this); - if (closeParentBehavior == this.CLOSE_PARENT_BEHAVIOR_ESCALATE_ALL) + if (closeParentBehavior == this.CLOSE_PARENT_BEHAVIOR_ESCALATE_ALL || + closeParentBehavior == this.CLOSE_PARENT_BEHAVIOR_ESCALATE_FIRST) nextFocusedTab = firstChild; }