From c7a3dd16e666b5f844bc98f19e58a3fe9967b5a4 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 16 Sep 2017 20:26:13 +0900 Subject: message constants --- src/background/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/background') diff --git a/src/background/index.js b/src/background/index.js index d2cfeb4..f329a9c 100644 --- a/src/background/index.js +++ b/src/background/index.js @@ -32,7 +32,7 @@ backgroundStore.subscribe(() => { browser.tabs.query({ active: true, currentWindow: true }).then((tabs) => { if (tabs.length > 0) { return browser.tabs.sendMessage(tabs[0].id, { - type: 'state.changed', + type: messages.STATE_UPDATE, state: backgroundStore.getState() }); } -- cgit v1.2.3