aboutsummaryrefslogtreecommitdiff
path: root/src/content/index.js
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2017-09-03 17:41:01 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2017-09-03 17:41:01 +0900
commit29f82d3a7f339fa99759b589923f0d8657da28f5 (patch)
tree3cdcc1f557d148cd70a16b767e88b19220761e51 /src/content/index.js
parente0bff54a827bcf15931ed651d4a5279b352a2961 (diff)
reopen command line after error
Diffstat (limited to 'src/content/index.js')
-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({