aboutsummaryrefslogtreecommitdiff
path: root/src/background/components/background.js
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/components/background.js
parenta50c7dd0a20cbef8860c3592ae70d3813d94b78d (diff)
Open adjacent tabs and background tabs
Diffstat (limited to 'src/background/components/background.js')
-rw-r--r--src/background/components/background.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/background/components/background.js b/src/background/components/background.js
index 2d94310..6026684 100644
--- a/src/background/components/background.js
+++ b/src/background/components/background.js
@@ -30,7 +30,8 @@ export default class BackgroundComponent {
case messages.OPEN_URL:
if (message.newTab) {
return this.store.dispatch(
- tabActions.openNewTab(message.url), sender);
+ commands.tabopenCommand(message.url, message.background,
+ settings.value.openAdjacentTabs), sender);
}
return this.store.dispatch(
tabActions.openToTab(message.url, sender.tab), sender);