aboutsummaryrefslogtreecommitdiff
path: root/src/content
diff options
context:
space:
mode:
Diffstat (limited to 'src/content')
-rw-r--r--src/content/index.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/content/index.js b/src/content/index.js
index 26c3840..8b3eb58 100644
--- a/src/content/index.js
+++ b/src/content/index.js
@@ -91,7 +91,9 @@ window.addEventListener("keypress", (e) => {
messages.receive(window, (message) => {
switch (message.type) {
case 'vimvixen.command.blur':
- vvConsole.hide();
+ if (!vvConsole.isErrorShown()) {
+ vvConsole.hide();
+ }
break;
case 'vimvixen.command.enter':
browser.runtime.sendMessage({