diff options
| author | Stephen Blott | 2015-01-08 13:16:29 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-01-08 13:16:29 +0000 |
| commit | 7f2cb179432d6c93c81a26a7efb1dc42a291f11a (patch) | |
| tree | d9c730cfc0309823a0644d91562b6453f5cc0721 /content_scripts | |
| parent | 2fe40dd69bb93b620da60464b9cb57c36adaeca1 (diff) | |
| download | vimium-7f2cb179432d6c93c81a26a7efb1dc42a291f11a.tar.bz2 | |
Modes; fix for tests.
Diffstat (limited to 'content_scripts')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 3 |
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: -> |
