Fix const curWidth. Fixes #3690

This commit is contained in:
Isaac Connor
2023-04-22 16:45:30 -04:00
parent 0bce4e190e
commit 483b658622

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);