Bug 1944733 - fix caller window for open-tab-group-context-menu_moveToNewWindow. r=dao,tabbrowser-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D236087
This commit is contained in:
@@ -113,7 +113,7 @@ document.addEventListener(
|
||||
{
|
||||
let { tabGroupId } = event.target.parentElement.triggerNode.dataset;
|
||||
let tabGroup = gBrowser.getTabGroupById(tabGroupId);
|
||||
gBrowser.replaceGroupWithWindow(tabGroup);
|
||||
tabGroup.ownerGlobal.gBrowser.replaceGroupWithWindow(tabGroup);
|
||||
}
|
||||
break;
|
||||
case "open-tab-group-context-menu_moveToThisWindow":
|
||||
|
||||
Reference in New Issue
Block a user