Skip to content

Commit 9560d5a

Browse files
gdh1995philc
authored andcommitted
fix broken FindMode on Firefox 86+
1 parent 877883e commit 9560d5a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pages/hud.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ const handlers = {
134134
if (countElement == null) // Don't do anything if we're not in find mode.
135135
return;
136136

137+
if (Utils.isFirefox())
138+
document.getElementById("hud-find-input").focus()
137139
const countText = matchCount > 0 ?
138140
` (${matchCount} Match${matchCount === 1 ? "" : "es"})` : " (No matches)";
139141
countElement.textContent = showMatchText ? countText : "";

0 commit comments

Comments
 (0)