Skip to content

Commit

Permalink
Fix: Get next event to play (montage.js)
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorA100 authored Oct 4, 2024
1 parent 59756eb commit 3b10ec1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web/skins/classic/views/js/montage.js
Original file line number Diff line number Diff line change
Expand Up @@ -3452,7 +3452,8 @@ function checkNextEvent() {
const nextEventId = nextEventInfo.eventId;
//if ((currentEventId == nextEventId && currentEventInfo.status != 'waiting' && nextEventInfo.status != 'notAvailable') ||
//(!nextEventId && nextEventInfo.status != 'notAvailable'))
if ((currentEventId == nextEventId && nextEventInfo.status != 'waiting') ||
//if ((currentEventId == nextEventId && nextEventInfo.status != 'waiting') ||
if ((currentEventId == nextEventId && currentEventInfo.status != 'stoped' && currentEventInfo.status != 'waiting') ||
(!nextEventId))
{
$j.getJSON(thisUrl, {
Expand Down

0 comments on commit 3b10ec1

Please sign in to comment.