aboutsummaryrefslogtreecommitdiff
path: root/src/background/actions
diff options
context:
space:
mode:
authorErwan Ameil <wan@idlewan.com>2017-11-16 13:03:38 +0000
committerErwan Ameil <wan@idlewan.com>2017-11-16 13:03:38 +0000
commit177940981ed9c4f096ad7db20f0b7ee044fd7b17 (patch)
treeee187b6b621a356f894971c2ee18169cac28a40f /src/background/actions
parenta50c7dd0a20cbef8860c3592ae70d3813d94b78d (diff)
Open adjacent tabs and background tabs
Diffstat (limited to 'src/background/actions')
-rw-r--r--src/background/actions/tab.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/background/actions/tab.js b/src/background/actions/tab.js
index e512b6f..d996b9f 100644
--- a/src/background/actions/tab.js
+++ b/src/background/actions/tab.js
@@ -1,9 +1,5 @@
-const openNewTab = (url) => {
- return browser.tabs.create({ url: url });
-};
-
const openToTab = (url, tab) => {
return browser.tabs.update(tab.id, { url: url });
};
-export { openToTab, openNewTab };
+export { openToTab };