fixed live burst not working with blind mode (not sure what this was here)

This commit is contained in:
Miodec 2023-02-25 22:01:13 +01:00
parent 60f5427c22
commit 05e2d344d3

View file

@ -4,14 +4,10 @@ import * as ConfigEvent from "../observables/config-event";
export async function update(burst: number): Promise<void> {
if (!Config.showLiveBurst) return;
let number = burst;
if (Config.blindMode) {
number = 0;
}
(document.querySelector("#miniTimerAndLiveWpm .burst") as Element).innerHTML =
number.toString();
burst.toString();
(document.querySelector("#liveBurst") as Element).innerHTML =
number.toString();
burst.toString();
}
export function show(): void {