Skip to content

Commit

Permalink
Merge pull request #4154 from IgorA100/patch-849650
Browse files Browse the repository at this point in the history
Fix: Added declaration of variables "futNone, indexPlus" (event.js)
  • Loading branch information
connortechnology authored Sep 27, 2024
2 parents cdf5485 + 202fc31 commit 0a069ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web/skins/classic/views/js/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0a069ee

Please sign in to comment.