From 7a9afaae6c1f5277c33b3e57391685f4ed902d21 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 3 May 2023 12:32:17 +0200 Subject: [PATCH] fixed a bug that would not show the total word count in any mode if config.words was set to 0 closes #4250 --- frontend/src/ts/test/timer-progress.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/test/timer-progress.ts b/frontend/src/ts/test/timer-progress.ts index c04353d3d..5ec01e1e1 100644 --- a/frontend/src/ts/test/timer-progress.ts +++ b/frontend/src/ts/test/timer-progress.ts @@ -176,7 +176,7 @@ export function update(): void { } } } else if (Config.timerStyle === "mini") { - if (Config.words === 0) { + if (outof === 0) { if (miniTimerNumberElement !== null) { miniTimerNumberElement.innerHTML = `${TestInput.input.history.length}`; }