fixed duplicate caret update to avoid caret jumping up on enter

This commit is contained in:
Jack 2021-06-23 19:11:45 +01:00
parent 85f23c997b
commit 33ccb2e6ef

View file

@ -736,8 +736,7 @@ function handleAlpha(event) {
TestUI.updateWordElement(!Config.blindMode);
}
}
Caret.updatePosition();
if (originalEvent.code !== "Enter") Caret.updatePosition();
}
$(document).keyup((event) => {