mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-05 05:17:51 +08:00
setting active page to undefined at the beginning of transition. closes #2313
This commit is contained in:
parent
3a17ab8bfe
commit
52f9dcb72d
1 changed files with 1 additions and 0 deletions
|
@ -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 == "") {
|
||||
|
|
Loading…
Reference in a new issue