mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-27 10:12:56 -04:00
Fix const curWidth. Fixes #3690
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user