fixed the input history button remaining visible during the test

This commit is contained in:
Jack 2020-05-27 16:52:48 +01:00
parent 4ed1f0679c
commit f54916ea29

View file

@ -623,7 +623,6 @@ function restartTest() {
clearIntervals();
time = 0;
afkDetected = false;
resultVisible = false;
wpmHistory = [];
setFocus(false);
hideCaret();
@ -658,6 +657,7 @@ function restartTest() {
$("#showWordHistoryButton").addClass('hidden');
});
}
resultVisible = false;
el.stop(true, true).animate({
opacity: 0