mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
enter cant start the test
This commit is contained in:
parent
d2a3ed9fc6
commit
2a06111e78
1 changed files with 4 additions and 0 deletions
|
@ -355,6 +355,10 @@ function handleChar(char, charIndex) {
|
|||
}
|
||||
}
|
||||
|
||||
if (TestLogic.words.getCurrent()[charIndex] !== "\n" && char === "\n") {
|
||||
return;
|
||||
}
|
||||
|
||||
//start the test
|
||||
if (!TestLogic.active && !TestLogic.startTest()) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue