mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 21:33:40 +08:00
can only show result if test is not active
This commit is contained in:
parent
358c4e4800
commit
29acb12a4c
1 changed files with 1 additions and 0 deletions
|
@ -1872,6 +1872,7 @@ function failTest() {
|
|||
|
||||
let resultCalculating = false;
|
||||
function showResult(difficultyFailed = false) {
|
||||
if (!testActive) return;
|
||||
if (config.mode == "zen" && currentInput.length != 0) {
|
||||
inputHistory.push(currentInput);
|
||||
correctedHistory.push(currentCorrected);
|
||||
|
|
Loading…
Reference in a new issue