aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
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();
}