diff options
| author | Stephen Blott | 2015-03-06 11:47:39 +0000 |
|---|---|---|
| committer | Stephen Blott | 2015-03-06 11:47:39 +0000 |
| commit | 29eb444f2fb519a0cae32363d8462aa06ef133a7 (patch) | |
| tree | 6bd3289189ac14fee2b4c86feed735b3ef48997a /content_scripts | |
| parent | c2638cd00b19e04bdfed164de6b1a3d4051cfbd9 (diff) | |
| parent | b959fa5c6b36ba19340f195d822b4b3cca8ccd2d (diff) | |
| download | vimium-29eb444f2fb519a0cae32363d8462aa06ef133a7.tar.bz2 | |
Merge branch 'fix-focus-html5-inputs'
Diffstat (limited to 'content_scripts')
| -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 8342abb8..836acecd 100644 --- a/content_scripts/vimium_frontend.coffee +++ b/content_scripts/vimium_frontend.coffee @@ -797,8 +797,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() |
