fixed zen mode not working

This commit is contained in:
Miodec 2022-02-11 22:14:32 +01:00
parent d2c88e26bc
commit b5996ef4e9

View file

@ -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 = "";