diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-16 20:26:13 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-16 21:08:18 +0900 |
commit | c7a3dd16e666b5f844bc98f19e58a3fe9967b5a4 (patch) | |
tree | 58bc3b854a93a98dfc6f0e65f684f52c95bb8a77 /src/background | |
parent | 83cb277ba2af2bc2f87ace1d97fa582a7043bcd5 (diff) |
message constants
Diffstat (limited to 'src/background')
-rw-r--r-- | src/background/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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() }); } |