From e3ca8a131ebb995e913e48629c72912db863675b Mon Sep 17 00:00:00 2001 From: Miodec Date: Thu, 10 Feb 2022 20:02:55 +0100 Subject: [PATCH] unnecessary code --- frontend/src/js/config.js | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/js/config.js b/frontend/src/js/config.js index afa983907..19d43fe69 100644 --- a/frontend/src/js/config.js +++ b/frontend/src/js/config.js @@ -199,7 +199,6 @@ export function setPunctuation(punc, nosave) { } export function setMode(mode, nosave) { - if (TestUI.testRestarting) return; if (mode !== "words" && config.funbox === "memory") { Notifications.add("Memory funbox can only be used with words mode.", 0); return;