@ -15,7 +15,7 @@ export default class Common {
input.onKey(key => keymapper.key(key));
this.store = store;
this.prevEnabled = this.store.getState().addon.enabled;
this.prevEnabled = undefined;
this.reloadSettings();
@ -44,6 +44,8 @@ export default class TopContent {
.some(regex => regex.test(partial));
if (matched) {
this.store.dispatch(addonActions.disable());
} else {
this.store.dispatch(addonActions.enable());
}