diff options
| author | Stephen Blott | 2018-02-23 12:45:32 +0000 |
|---|---|---|
| committer | Stephen Blott | 2018-02-23 12:57:07 +0000 |
| commit | 1bfe474a95f8eb23060cd42ff088146b5463dc62 (patch) | |
| tree | 00a138805030f2bab08724c89772132982dbb484 | |
| parent | 4d7730fcbf820fe2e59ade8b352b92c3c240c194 (diff) | |
| download | vimium-1bfe474a95f8eb23060cd42ff088146b5463dc62.tar.bz2 | |
Do not search in all frames.
Chrome has never searched in all frames, so this is no loss.
However, find on Firefox Quantum is now broken with the "all frames"
flag set.
Fixes #2962.
H/t: @gdh1995 (https://github.com/philc/vimium/issues/2962#issuecomment-367991086).
| -rw-r--r-- | content_scripts/mode_find.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/content_scripts/mode_find.coffee b/content_scripts/mode_find.coffee index 5090e4ee..1e4196d7 100644 --- a/content_scripts/mode_find.coffee +++ b/content_scripts/mode_find.coffee @@ -177,7 +177,7 @@ class FindMode extends Mode document.removeEventListener("selectionchange", @restoreDefaultSelectionHighlight, true) try - result = window.find(query, options.caseSensitive, options.backwards, true, false, true, false) + result = window.find(query, options.caseSensitive, options.backwards, true, false, false, false) catch # Failed searches throw on Firefox. # window.find focuses the |window| that it is called on. This gives us an opportunity to (re-)focus |
