diff --git a/src/components/documentManager.ts b/src/components/documentManager.ts index f4212876..32f3ed87 100644 --- a/src/components/documentManager.ts +++ b/src/components/documentManager.ts @@ -567,9 +567,9 @@ export abstract class DocumentManager { private static setPlayedPercentage(value = 0): void { const element = this.querySelector( '.itemProgressBar' - ) as HTMLInputElement; + ) as HTMLProgressElement; - element.value = value.toString(); + element.value = value; } /**