diff options
| author | mrmr1993 | 2015-02-19 14:45:47 +0000 |
|---|---|---|
| committer | mrmr1993 | 2015-02-19 14:45:47 +0000 |
| commit | 7a380f3f0db55aefadcf73cf41e942e44e22df79 (patch) | |
| tree | aba2ef5edc8f199d31cd139271797146e3eea071 /content_scripts/vimium_frontend.coffee | |
| parent | dfc84985802529be1cc32552d7c8016bf2e56dad (diff) | |
| download | vimium-7a380f3f0db55aefadcf73cf41e942e44e22df79.tar.bz2 | |
Stop trying to place the cursor at the end of an input on focus
Diffstat (limited to 'content_scripts/vimium_frontend.coffee')
| -rw-r--r-- | content_scripts/vimium_frontend.coffee | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/content_scripts/vimium_frontend.coffee b/content_scripts/vimium_frontend.coffee index 609b6b40..f996f753 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -796,8 +796,7 @@ executeFind = (query, options) -> # previous find landed in an editable element, then that element may still be activated. In this case, we # don't want to leave it behind (see #1412). if document.activeElement and DomUtils.isEditable document.activeElement - if not DomUtils.isSelected document.activeElement - document.activeElement.blur() + document.activeElement.blur() unless DomUtils.isSelected document.activeElement # we need to save the anchor node here because <esc> seems to nullify it, regardless of whether we do # preventDefault() |
