mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
fixed an issue where the caret would remain flashing
This commit is contained in:
parent
146bdd405a
commit
02fb8096c1
1 changed files with 1 additions and 1 deletions
|
@ -78,6 +78,7 @@ function getLastChar(word) {
|
|||
function setFocus(foc) {
|
||||
if (foc) {
|
||||
// focus = true;
|
||||
stopCaretAnimation();
|
||||
$("#top").addClass("focus");
|
||||
$("#bottom").addClass("focus");
|
||||
$("body").css("cursor", "none");
|
||||
|
@ -1154,7 +1155,6 @@ $(document).keypress(function(event) {
|
|||
console.log("Analytics unavailable");
|
||||
}
|
||||
testActive = true;
|
||||
stopCaretAnimation();
|
||||
testStart = Date.now();
|
||||
if (config.mode == "time") {
|
||||
showTimer();
|
||||
|
|
Loading…
Reference in a new issue