Skip to content

Commit 62884d1

Browse files
committed
Move to restart
1 parent 81e6c0a commit 62884d1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

frontend/src/ts/test/test-input.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -517,4 +517,5 @@ export function restart(): void {
517517
correct: 0,
518518
incorrect: 0,
519519
};
520+
resetKeypressTimings();
520521
}

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ export function restart(options = {} as RestartOptions): void {
291291
TestStats.restart();
292292
TestInput.restart();
293293
TestInput.corrected.reset();
294-
TestInput.resetKeypressTimings();
295294
ShiftTracker.reset();
296295
AltTracker.reset();
297296
Caret.hide();

0 commit comments

Comments
 (0)