set opener tab id

This commit is contained in:
Shin'ya Ueoka 2018-02-20 21:09:05 +09:00
parent d0e4fc92ce
commit ba2cd311e1
2 changed files with 3 additions and 3 deletions

View file

@ -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) => {