diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-06 20:13:15 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-11 16:16:01 +0900 |
commit | be37c42d28e4d32609b5972ee937a269d18c0f67 (patch) | |
tree | 8b811c3dccd38292e8ecc14d0108a6352476a4f4 /src/background/actions | |
parent | cb4b26e03f97ff2f1789f7a59efe2973ab1d0eb9 (diff) |
show find in console
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 9876940..1e4990c 100644 --- a/src/background/actions/operation.js +++ b/src/background/actions/operation.js @@ -65,6 +65,10 @@ const exec = (operation, tab) => { return sendConsoleShowCommand(tab, 'winopen '); case operations.COMMAND_SHOW_BUFFER: return sendConsoleShowCommand(tab, 'buffer '); + case operations.FIND_START: + return browser.tabs.sendMessage(tab.id, { + type: messages.CONSOLE_SHOW_FIND + }); default: return Promise.resolve(); } |