mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-26 15:54:35 +08:00
fix: prevent automatic double newline when quick restart set to enter (sanidhyas3s) (#5184)
Fixes #5175 Co-authored-by: Jack <jack@monkeytype.com>
This commit is contained in:
parent
cc30f6357e
commit
2fb77a1693
1 changed files with 0 additions and 1 deletions
|
@ -1008,7 +1008,6 @@ $(document).on("keydown", async (event) => {
|
|||
event,
|
||||
});
|
||||
} else {
|
||||
handleChar("\n", TestInput.input.current.length);
|
||||
setWordsInput(" " + TestInput.input.current);
|
||||
if (Config.tapeMode !== "off") {
|
||||
TestUI.scrollTape();
|
||||
|
|
Loading…
Reference in a new issue