Fix const curWidth. Fixes #3690

This commit is contained in:
Isaac Connor committed 2023-04-22 16:45:30 -04:00
1 parent 0bce4e190e
commit 483b658622
1 file changed
+1 -1
+1 -1
View File
@@ -798,7 +798,7 @@ function updateProgressBar() {
if (!(eventData && streamStatus)) {
return;
} // end if ! eventData && streamStatus
const curWidth = (streamStatus.progress / parseFloat(eventData.Length)) * 100;
let curWidth = (streamStatus.progress / parseFloat(eventData.Length)) * 100;
if (curWidth > 100) curWidth = 100;
const progressDate = new Date(eventData.StartDateTime);