setting focus to off only if focus is already active

This commit is contained in:
unknown 2020-05-24 22:29:16 +01:00
parent e85859ba28
commit 0272adaa51

View file

@ -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