ignoring events when loading. closes #2109

This commit is contained in:
Jack 2021-11-23 14:56:55 +00:00
parent 9f5bb64aee
commit 7f2d5b7465

View file

@ -629,6 +629,8 @@ function handleTab(event) {
}
$(document).keydown((event) => {
if ($(".pageLoading").hasClass("active")) return event.preventDefault();
//autofocus
const wordsFocused = $("#wordsInput").is(":focus");
const pageTestActive = !$(".pageTest").hasClass("hidden");