CC-2175: Overbooking: Cut off shows when they are done
-on-air light now turns off when show finishes before a song is able to finish. (before waited until song completed)
This commit is contained in:
parent
33b24b581c
commit
ac3853c0fb
|
@ -85,7 +85,7 @@ function updateProgressBarValue(){
|
||||||
songPercentDone = 0;
|
songPercentDone = 0;
|
||||||
currentSong = new Array();
|
currentSong = new Array();
|
||||||
} else {
|
} else {
|
||||||
if (currentSong[0].media_item_played == "t")
|
if (currentSong[0].media_item_played == "t" && currentShow.length > 0)
|
||||||
$('#on-air-info').attr("class", "on-air-info on");
|
$('#on-air-info').attr("class", "on-air-info on");
|
||||||
else
|
else
|
||||||
$('#on-air-info').attr("class", "on-air-info off");
|
$('#on-air-info').attr("class", "on-air-info off");
|
||||||
|
|
Loading…
Reference in New Issue