mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-11 18:03:30 +08:00
stopping the words from jumping to the next line
This commit is contained in:
parent
a3f61e1167
commit
a416e24d64
1 changed files with 7 additions and 0 deletions
|
@ -4667,6 +4667,13 @@ $(document).keydown(function (event) {
|
|||
} else {
|
||||
activeWordJumped = false;
|
||||
}
|
||||
|
||||
if (activeWordJumped) {
|
||||
currentInput = currentInput.slice(0, -1);
|
||||
compareInput(!config.blindMode);
|
||||
activeWordJumped = false;
|
||||
}
|
||||
|
||||
// console.timeEnd("offcheck2");
|
||||
|
||||
if (config.keymapMode === "react") {
|
||||
|
|
Loading…
Reference in a new issue