diff --git a/airtime_mvc/public/js/airtime/dashboard/playlist.js b/airtime_mvc/public/js/airtime/dashboard/playlist.js index 077d9b780..c3b796da8 100644 --- a/airtime_mvc/public/js/airtime/dashboard/playlist.js +++ b/airtime_mvc/public/js/airtime/dashboard/playlist.js @@ -85,8 +85,8 @@ function updateProgressBarValue(){ if (songPercentDone < 0 || songPercentDone > 100){ songPercentDone = 0; currentSong = null; - } else { - if (currentSong.media_item_played == "t" && currentShow.length > 0){ + } else { + if (currentSong.media_item_played == true && currentShow.length > 0){ scheduled_play_line_to_switch.attr("class", "line-to-switch on"); scheduled_play_div.addClass("ready") scheduled_play_source = true;