From b5996ef4e95ad52770e49c6f043b0e0e87dcda5e Mon Sep 17 00:00:00 2001 From: Miodec Date: Fri, 11 Feb 2022 22:14:32 +0100 Subject: [PATCH] fixed zen mode not working --- frontend/src/js/test/test-ui.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/js/test/test-ui.js b/frontend/src/js/test/test-ui.js index 172ec5d5b..42e79d6b0 100644 --- a/frontend/src/js/test/test-ui.js +++ b/frontend/src/js/test/test-ui.js @@ -296,7 +296,7 @@ export function updateWordElement(showError = !Config.blindMode) { let currentWord; wordAtIndex = document.querySelector("#words .word.active"); currentWord = TestWords.words.getCurrent(); - if (!currentWord) return; + if (!currentWord && Config.mode !== "zen") return; let ret = "";