mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-28 16:54:04 +08:00
not showing caret after resize if the input field is not focused
This commit is contained in:
parent
1cf04ec696
commit
7cca38c245
1 changed files with 3 additions and 1 deletions
|
@ -100,7 +100,9 @@ const debouncedEvent = debounce(250, async () => {
|
|||
}
|
||||
}
|
||||
setTimeout(() => {
|
||||
Caret.show();
|
||||
if ($("#wordsInput").is(":focus")) {
|
||||
Caret.show();
|
||||
}
|
||||
}, 250);
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue