From 74c53b9040669ad26604c42ec4c91ebd78e08439 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Tue, 17 Oct 2017 22:01:01 +0900 Subject: fix settings reload --- src/content/components/common/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/content') 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(); } -- cgit v1.2.3