mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-11-10 08:55:37 +08:00
fixed live burst not working with blind mode (not sure what this was here)
This commit is contained in:
parent
60f5427c22
commit
05e2d344d3
1 changed files with 2 additions and 6 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue