Revert "Don't replace parent tab with group tab if it ls already replaced"

This reverts commit c3efa9bd13.
This commit is contained in:
YUKI Hiroshi 2016-02-12 19:29:15 +09:00
parent c3efa9bd13
commit 7050d5994c

View File

@ -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