aboutsummaryrefslogtreecommitdiff
path: root/src/background/actions/tab.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-02-20 21:09:05 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2018-02-20 21:28:20 +0900
commitba2cd311e158152d961e39f84f29fefc872cc594 (patch)
treea4921c6ab5a4eb806cba34a93a53dbb3d136da05 /src/background/actions/tab.js
parentd0e4fc92ce678fdb18fc27a9810f7fb1c8b8a8f5 (diff)
set opener tab id
Diffstat (limited to 'src/background/actions/tab.js')
-rw-r--r--src/background/actions/tab.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/background/actions/tab.js b/src/background/actions/tab.js
index e512b6f..40da55d 100644
--- a/src/background/actions/tab.js
+++ b/src/background/actions/tab.js
@@ -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) => {