Skip to content

Commit

Permalink
Fix: Added declaration of variables "futNone, indexPlus" (event.js)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorA100 authored Sep 27, 2024
1 parent cdf5485 commit 202fc31
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 202fc31

Please sign in to comment.