Skip to content

Commit c4ffa5f

Browse files
committed
fix(caret): invisible caret when quick restarting
1 parent 79b79e0 commit c4ffa5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/ts/test/test-logic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ export function restart(options = {} as RestartOptions): void {
379379

380380
const isWordsFocused = $("#wordsInput").is(":focus");
381381
if (isWordsFocused) OutOfFocus.hide();
382-
TestUI.focusWords();
382+
TestUI.focusWords(true);
383383

384384
$("#typingTest")
385385
.css("opacity", 0)

0 commit comments

Comments
 (0)