Open adjacent tabs and background tabs

This commit is contained in:
Erwan Ameil 2017-11-16 13:03:38 +00:00
parent a50c7dd0a2
commit 177940981e
10 changed files with 38 additions and 19 deletions

View file

@ -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: