Skip to content

Commit 8ec109d

Browse files
committed
chore: dont set page transition when restartin the test
1 parent 2b292b0 commit 8ec109d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,6 @@ export function restart(options = {} as RestartOptions): void {
298298
el = $("#typingTest");
299299
}
300300
TestUI.setResultVisible(false);
301-
PageTransition.set(true);
302301
TestUI.setTestRestarting(true);
303302
el.stop(true, true).animate(
304303
{
@@ -371,10 +370,9 @@ export function restart(options = {} as RestartOptions): void {
371370
LiveSpeed.reset();
372371
LiveAcc.reset();
373372
LiveBurst.reset();
374-
TestUI.setTestRestarting(false);
375373
TestUI.updatePremid();
376374
ManualRestart.reset();
377-
PageTransition.set(false);
375+
TestUI.setTestRestarting(false);
378376
}
379377
);
380378
}

0 commit comments

Comments
 (0)