aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'content_scripts')
-rw-r--r--content_scripts/vimium_frontend.coffee3
1 files changed, 2 insertions, 1 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee
index b1fc3c6f..d67f57d0 100644
--- a/content_scripts/vimium_frontend.coffee
+++ b/content_scripts/vimium_frontend.coffee
@@ -394,7 +394,8 @@ extend window,
@exit()
@continueBubbling
- @exit() if visibleInputs.length == 1
+ visibleInputs[selectedInputIndex].element.focus()
+ return @exit() if visibleInputs.length == 1
hints[selectedInputIndex].classList.add 'internalVimiumSelectedInputHint'
exit: ->