updates word count when backspacing in zen mode (#4352) seoulection

This commit is contained in:
Brian Sung 2023-06-07 04:49:46 -07:00 committed by GitHub
parent 5a1070be52
commit aa6cc3fb01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -138,6 +138,8 @@ function backspaceToPrevious(): void {
TestUI.updateWordElement();
if (Config.mode === "zen") {
TimerProgress.update();
const els: HTMLElement[] = (document.querySelector("#words")?.children ||
[]) as HTMLElement[];