Skip to content

Commit

Permalink
Fix typing of itemProgressBar
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Nov 2, 2024
1 parent 121656b commit 769e83f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/documentManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/**
Expand Down

0 comments on commit 769e83f

Please sign in to comment.