aboutsummaryrefslogtreecommitdiff
path: root/src/content/components/top-content/follow-controller.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/content/components/top-content/follow-controller.js
parenta50c7dd0a20cbef8860c3592ae70d3813d94b78d (diff)
Open adjacent tabs and background tabs
Diffstat (limited to 'src/content/components/top-content/follow-controller.js')
-rw-r--r--src/content/components/top-content/follow-controller.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/components/top-content/follow-controller.js b/src/content/components/top-content/follow-controller.js
index d373177..f759c8c 100644
--- a/src/content/components/top-content/follow-controller.js
+++ b/src/content/components/top-content/follow-controller.js
@@ -29,7 +29,7 @@ export default class FollowController {
switch (message.type) {
case messages.FOLLOW_START:
return this.store.dispatch(
- followControllerActions.enable(message.newTab));
+ followControllerActions.enable(message.newTab, message.background));
case messages.FOLLOW_RESPONSE_COUNT_TARGETS:
return this.create(message.count, sender);
case messages.FOLLOW_KEY_PRESS:
@@ -126,6 +126,7 @@ export default class FollowController {
type: messages.FOLLOW_CREATE_HINTS,
keysArray: produced,
newTab: this.state.newTab,
+ background: this.state.background,
}), '*');
}