mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-10-04 16:35:41 -04:00
Fix const curWidth. Fixes #3690
This commit is contained in:
1 parent
0bce4e190e
commit
483b658622
1 file changed
+1
-1
@@ -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