mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-25 07:17:23 +08:00
make sure no errors are shown in blind mode
This commit is contained in:
parent
02a75b063d
commit
a931107f3b
1 changed files with 1 additions and 0 deletions
|
|
@ -338,6 +338,7 @@ function updateCaretPosition() {
|
|||
currentLetterIndex = 0;
|
||||
}
|
||||
let currentLetter = $($("#words .word.active letter")[currentLetterIndex]);
|
||||
if(currentLetter.length == 0) return;
|
||||
let currentLetterPos = currentLetter.position();
|
||||
let letterHeight = currentLetter.height();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue