aboutsummaryrefslogtreecommitdiffstats
path: root/content_scripts
diff options
context:
space:
mode:
authorStephen Blott2015-01-08 13:16:29 +0000
committerStephen Blott2015-01-08 13:16:29 +0000
commit7f2cb179432d6c93c81a26a7efb1dc42a291f11a (patch)
treed9c730cfc0309823a0644d91562b6453f5cc0721 /content_scripts
parent2fe40dd69bb93b620da60464b9cb57c36adaeca1 (diff)
downloadvimium-7f2cb179432d6c93c81a26a7efb1dc42a291f11a.tar.bz2
Modes; fix for tests.
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: ->