aboutsummaryrefslogtreecommitdiff
path: root/src/console
diff options
context:
space:
mode:
Diffstat (limited to 'src/console')
-rw-r--r--src/console/components/console.js3
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({