From 7050d5994cf69a09dcf0dcd9f218f666228a4798 Mon Sep 17 00:00:00 2001 From: YUKI Hiroshi Date: Fri, 12 Feb 2016 19:29:15 +0900 Subject: [PATCH] Revert "Don't replace parent tab with group tab if it ls already replaced" This reverts commit c3efa9bd13eaa5958c1a884150e0b156cf79a3c1. --- modules/browser.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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