CC-4640: Automatically jump to current song when loading the Now Playing page.
-added check to see if a show is currently playing
This commit is contained in:
parent
332f9993c0
commit
d97afabaea
|
@ -649,7 +649,9 @@ var AIRTIME = (function(AIRTIME){
|
|||
},
|
||||
"fnDrawCallback": function fnBuilderDrawCallback(oSettings, json) {
|
||||
if (!isInitialized) {
|
||||
mod.jumpToCurrentTrack();
|
||||
if ($(this).find("."+NOW_PLAYING_CLASS).length > 0) {
|
||||
mod.jumpToCurrentTrack();
|
||||
}
|
||||
}
|
||||
|
||||
isInitialized = true;
|
||||
|
|
Loading…
Reference in New Issue