aboutsummaryrefslogtreecommitdiff
path: root/src/content/components/top-content
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2018-05-01 14:17:29 +0900
committerGitHub <noreply@github.com>2018-05-01 14:17:29 +0900
commit89d6afecfd257ff4fc62748f771abf37ef3a2852 (patch)
treef0ebc8a1a7a9f29dc4775dea62ae89166837c4c1 /src/content/components/top-content
parentfb8a0f36aa4d070df936cc7598ef8dd988ee1b15 (diff)
parentdaefddf8b86f2844b9ad2220cb2983129a366484 (diff)
Merge pull request #171 from idlewan/background-adjacent-tabs
Open adjacent tabs and background tabs
Diffstat (limited to 'src/content/components/top-content')
-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 1b5586b..7f36604 100644
--- a/src/content/components/top-content/follow-controller.js
+++ b/src/content/components/top-content/follow-controller.js
@@ -28,7 +28,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:
@@ -129,6 +129,7 @@ export default class FollowController {
type: messages.FOLLOW_CREATE_HINTS,
keysArray: produced,
newTab: this.state.newTab,
+ background: this.state.background,
}), '*');
}