aboutsummaryrefslogtreecommitdiff
path: root/src/content/reducers
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/reducers
parentfb8a0f36aa4d070df936cc7598ef8dd988ee1b15 (diff)
parentdaefddf8b86f2844b9ad2220cb2983129a366484 (diff)
Merge pull request #171 from idlewan/background-adjacent-tabs
Open adjacent tabs and background tabs
Diffstat (limited to 'src/content/reducers')
-rw-r--r--src/content/reducers/follow-controller.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/reducers/follow-controller.js b/src/content/reducers/follow-controller.js
index 2afb232..78fd848 100644
--- a/src/content/reducers/follow-controller.js
+++ b/src/content/reducers/follow-controller.js
@@ -3,6 +3,7 @@ import actions from 'content/actions';
const defaultState = {
enabled: false,
newTab: false,
+ background: false,
keys: '',
};
@@ -12,6 +13,7 @@ export default function reducer(state = defaultState, action = {}) {
return Object.assign({}, state, {
enabled: true,
newTab: action.newTab,
+ background: action.background,
keys: '',
});
case actions.FOLLOW_CONTROLLER_DISABLE: