Replay timer resets to 0 after new test

This commit is contained in:
Luke Weiler 2021-05-14 13:12:58 -04:00 committed by GitHub
parent c26b36ad5e
commit cda804ca10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -172,6 +172,7 @@ function startReplayRecording() {
//hide replay display if user left it open
toggleReplayDisplay();
}
$("#replayStopwatch").text(0 + "s");
replayData = [];
replayStartTime = performance.now();
replayRecording = true;