Skip to content

Commit 1bfe474

Browse files
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 philc#2962. H/t: @gdh1995 (philc#2962 (comment)).
1 parent 4d7730f commit 1bfe474

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content_scripts/mode_find.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class FindMode extends Mode
177177
document.removeEventListener("selectionchange", @restoreDefaultSelectionHighlight, true)
178178

179179
try
180-
result = window.find(query, options.caseSensitive, options.backwards, true, false, true, false)
180+
result = window.find(query, options.caseSensitive, options.backwards, true, false, false, false)
181181
catch # Failed searches throw on Firefox.
182182

183183
# window.find focuses the |window| that it is called on. This gives us an opportunity to (re-)focus

0 commit comments

Comments
 (0)