From a90e3381bdaf03407b63ccb2b41428120b79d73d Mon Sep 17 00:00:00 2001 From: Jack Date: Wed, 23 Sep 2020 23:51:10 +0100 Subject: [PATCH] fixed a bug where the long test warning would come up when changing pages --- public/js/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 01283454a..faf677afd 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -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("/", "")); } });