aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-10-17 22:01:01 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-10-17 22:01:01 +0900
commit74c53b9040669ad26604c42ec4c91ebd78e08439 (patch)
tree6706a24c2f76824b40ef1101f6f9a52b91aa97a1 /src/content
parentc69cb944acc7fd02110777be2719eca6f891154b (diff)
fix settings reload
Diffstat (limited to 'src/content')
-rw-r--r--src/content/components/common/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/content/components/common/index.js b/src/content/components/common/index.js
index a05febd..5e977ae 100644
--- a/src/content/components/common/index.js
+++ b/src/content/components/common/index.js
@@ -28,7 +28,7 @@ export default class Common {
}
onMessage(message, sender) {
- switch (message) {
+ switch (message.type) {
case messages.SETTINGS_CHANGED:
this.reloadSettings();
}