mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-20 15:26:15 +08:00
stopping mode changing while test is restarting. closes #1025
This commit is contained in:
parent
5b343306a9
commit
6b5cdc8569
|
@ -3392,6 +3392,7 @@ function changePage(page) {
|
|||
}
|
||||
|
||||
function setMode(mode, nosave) {
|
||||
if (testRestarting) return;
|
||||
if (mode !== "words" && activeFunBox === "memory") {
|
||||
Notifications.add("Memory funbox can only be used with words mode.", 0);
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue