From ba2cd311e158152d961e39f84f29fefc872cc594 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 20 Feb 2018 21:09:05 +0900 Subject: set opener tab id --- src/background/actions/tab.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/background/actions') 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) => { -- cgit v1.2.3