mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 00:06:16 +08:00
setting focus to off only if focus is already active
This commit is contained in:
parent
e85859ba28
commit
0272adaa51
|
@ -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