fixed a bug where the long test warning would come up when changing pages

This commit is contained in:
Jack 2020-09-23 23:51:10 +01:00
parent 4dc1ae6a95
commit a90e3381bd

View file

@ -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("/", ""));
}
});