mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-12-29 11:26:13 +08:00
avoiding page change in a certain tribe state
This commit is contained in:
parent
22800b7ad2
commit
263800971d
1 changed files with 1 additions and 0 deletions
|
|
@ -113,6 +113,7 @@ export function changePage(page, tribe = false) {
|
|||
Notifications.add("Not changing page, page transition true", 0, 0, "DEBUG");
|
||||
return;
|
||||
}
|
||||
if (Tribe.state === 8 && !tribe) return;
|
||||
let activePage = $(".page.active");
|
||||
$(".page").removeClass("active");
|
||||
$("#wordsInput").focusout();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue