mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-09 17:04:30 +08:00
fixed duplicate caret update to avoid caret jumping up on enter
This commit is contained in:
parent
85f23c997b
commit
33ccb2e6ef
1 changed files with 1 additions and 2 deletions
|
|
@ -736,8 +736,7 @@ function handleAlpha(event) {
|
|||
TestUI.updateWordElement(!Config.blindMode);
|
||||
}
|
||||
}
|
||||
|
||||
Caret.updatePosition();
|
||||
if (originalEvent.code !== "Enter") Caret.updatePosition();
|
||||
}
|
||||
|
||||
$(document).keyup((event) => {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue