mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
fixed #2
This commit is contained in:
parent
eb25f7b48d
commit
bb52e71fa7
1 changed files with 1 additions and 0 deletions
|
@ -262,6 +262,7 @@ function startCaretAnimation() {
|
|||
}
|
||||
|
||||
function updateCaretPosition() {
|
||||
if ($("#words").hasClass('hidden')) return;
|
||||
let caret = $("#caret");
|
||||
let activeWord = $("#words .word.active");
|
||||
let inputLen = currentInput.length;
|
||||
|
|
Loading…
Reference in a new issue