diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-03-04 18:32:24 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-03-04 18:41:23 +0900 |
commit | 90b83d7b7b99598834466c97e9c74c82cbd25cf3 (patch) | |
tree | f7faf5e1f1b757725ec49c8fdc7493ba3bd503e8 /src/background/actions | |
parent | 37410b874f89de4907ba038244318129835e8157 (diff) |
hide console on <Esc> and <C-{>
Diffstat (limited to 'src/background/actions')
-rw-r--r-- | src/background/actions/operation.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/background/actions/operation.js b/src/background/actions/operation.js index 1188ea2..56eb168 100644 --- a/src/background/actions/operation.js +++ b/src/background/actions/operation.js @@ -73,6 +73,10 @@ const exec = (operation, tab) => { return browser.tabs.sendMessage(tab.id, { type: messages.CONSOLE_SHOW_FIND }); + case operations.CANCEL: + return browser.tabs.sendMessage(tab.id, { + type: messages.CONSOLE_HIDE, + }); default: return Promise.resolve(); } |