diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-11 18:34:57 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-11-11 18:34:57 +0900 |
commit | e3409b3aaea81eca6e10df0b1880067ddf4df961 (patch) | |
tree | 89184d15ab800461490d93d0a952b553f234d3ff /src | |
parent | 12db4943ee54e1b0b48c806cde589254cb6fef51 (diff) |
fix on unfocus
Diffstat (limited to 'src')
-rw-r--r-- | src/console/components/console.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/console/components/console.js b/src/console/components/console.js index 38e32d7..7bc3364 100644 --- a/src/console/components/console.js +++ b/src/console/components/console.js @@ -57,7 +57,8 @@ export default class ConsoleComponent { browser.runtime.sendMessage({ type: messages.CONSOLE_ENTER_COMMAND, text: value, - }).then(this.hideCommand); + }); + this.hideCommand(); } else if (state.mode === 'find') { this.hideCommand(); window.top.postMessage(JSON.stringify({ |