mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-04 04:51:16 +08:00
setting focus to off only if focus is already active
This commit is contained in:
parent
e85859ba28
commit
0272adaa51
1 changed files with 3 additions and 1 deletions
|
@ -971,7 +971,9 @@ $(window).resize(() => {
|
|||
});
|
||||
|
||||
$(document).mousemove(function(event) {
|
||||
setFocus(false);
|
||||
if($("#top").hasClass("focus")){
|
||||
setFocus(false);
|
||||
}
|
||||
});
|
||||
|
||||
//keypresses for the test, using different method to be more responsive
|
||||
|
|
Loading…
Reference in a new issue