mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-16 18:46:26 +08:00
fixed #2
This commit is contained in:
parent
0af64a71eb
commit
c7389bc1bb
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…
Add table
Reference in a new issue