diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-06 21:35:11 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-05-06 21:35:11 +0900 |
commit | cf30ef0cd503b3b9dee882202d64ba9db9922ee3 (patch) | |
tree | 4d995736429753d8c9d2892ef6195e6517777fc9 /src/content/components/top-content/index.js | |
parent | 1f51f3260d90914fba89720f63813a3f41f5e5f1 (diff) |
update indicator on loaded
Diffstat (limited to 'src/content/components/top-content/index.js')
-rw-r--r-- | src/content/components/top-content/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content/components/top-content/index.js b/src/content/components/top-content/index.js index cb9e160..a0d0480 100644 --- a/src/content/components/top-content/index.js +++ b/src/content/components/top-content/index.js @@ -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()); } } |