From 1bfe474a95f8eb23060cd42ff088146b5463dc62 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Fri, 23 Feb 2018 12:45:32 +0000 Subject: 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). --- content_scripts/mode_find.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3