mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
fixed enter key support
This commit is contained in:
parent
ac23609ab2
commit
7ef93b6f22
1 changed files with 1 additions and 1 deletions
|
@ -417,7 +417,7 @@ function handleChar(char, charIndex) {
|
|||
char = " ";
|
||||
}
|
||||
|
||||
if (/\s/.test(char)) {
|
||||
if (char !== "\n" && /\s/.test(char)) {
|
||||
handleSpace();
|
||||
|
||||
//insert space for expert and master or strict space,
|
||||
|
|
Loading…
Reference in a new issue