diff --git a/modules/browser.js b/modules/browser.js index 78ef9a49..a352645a 100644 --- a/modules/browser.js +++ b/modules/browser.js @@ -5762,8 +5762,7 @@ TreeStyleTabBrowser.prototype = inherit(TreeStyleTabWindow.prototype, { insertBefore = this.getNextSiblingTab(this.getRootTab(aTab)); } - if (aInfo.behavior == this.kCLOSE_PARENT_BEHAVIOR_REPLACE_WITH_GROUP_TAB && - !this.isGroupTab(aTab)) { + if (aInfo.behavior == this.kCLOSE_PARENT_BEHAVIOR_REPLACE_WITH_GROUP_TAB) { let uri = this.getGroupTabURI({ title: aTab.label, temporary: true