mirror of
https://github.com/ZoneMinder/zoneminder.git
synced 2026-03-30 11:42:22 -04:00
Fix: Added declaration of variables "futNone, indexPlus" (event.js)
Closed: https://forums.zoneminder.com/viewtopic.php?p=135636&sid=0e728ac75cf2a1ce0b42380582f5b928#p135636
This commit is contained in:
@@ -231,8 +231,8 @@ function renderAlarmCues(containerEl) {
|
||||
//console.log(left, frame.Delta, event_length, containerEl.width());
|
||||
spanTimeStart = spanTimeEnd;
|
||||
} else if ( (frame.Type !== 'Alarm') && (alarmed == 1) ) { //from alarm to nothing. End alarm and start nothing.
|
||||
futNone = 0;
|
||||
indexPlus = i+1;
|
||||
let futNone = 0;
|
||||
let indexPlus = i+1;
|
||||
if (((frame.Delta * 100) - spanTimeStart) < minAlarm && indexPlus < num_cueFrames) {
|
||||
//alarm is too short and there is more event
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user