Use openerTabId for view-source
This commit is contained in:
parent
21c28e668e
commit
740e123b36
1 changed files with 2 additions and 1 deletions
|
@ -80,7 +80,8 @@ const exec = (operation, tab) => {
|
|||
case operations.PAGE_SOURCE:
|
||||
return browser.tabs.create({
|
||||
url: 'view-source:' + tab.url,
|
||||
index: tab.index + 1
|
||||
index: tab.index + 1,
|
||||
openerTabId: tab.id,
|
||||
});
|
||||
default:
|
||||
return Promise.resolve();
|
||||
|
|
Reference in a new issue