set opener tab id
This commit is contained in:
parent
d0e4fc92ce
commit
ba2cd311e1
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
const openNewTab = (url) => {
|
||||
return browser.tabs.create({ url: url });
|
||||
const openNewTab = (url, openerTabId) => {
|
||||
return browser.tabs.create({ url, openerTabId });
|
||||
};
|
||||
|
||||
const openToTab = (url, tab) => {
|
||||
|
|
Reference in a new issue