setting active page to undefined at the beginning of transition. closes #2313

This commit is contained in:
Miodec 2022-01-18 14:30:18 +01:00
parent 3a17ab8bfe
commit 52f9dcb72d

View file

@ -123,6 +123,7 @@ export function changePage(page, norestart = false) {
}
console.log(`change page ${page}`);
let activePageElement = $(".page.active");
activePage = undefined;
$(".page").removeClass("active");
$("#wordsInput").focusout();
if (page == "test" || page == "") {