mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 21:53:13 +08:00
fixed a bug where the long test warning would come up when changing pages
This commit is contained in:
parent
4dc1ae6a95
commit
a90e3381bd
1 changed files with 1 additions and 1 deletions
|
@ -3989,7 +3989,6 @@ $(document).on("click", "#top .config .mode .text-button", (e) => {
|
|||
mode = $(e.currentTarget).attr("mode");
|
||||
changeMode(mode);
|
||||
manualRestart = true;
|
||||
|
||||
restartTest();
|
||||
});
|
||||
|
||||
|
@ -3999,6 +3998,7 @@ $(document).on("click", "#top #menu .icon-button", (e) => {
|
|||
showLeaderboards();
|
||||
} else {
|
||||
href = $(e.currentTarget).attr("href");
|
||||
manualRestart = true;
|
||||
changePage(href.replace("/", ""));
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue