- moved calcAdditionalShowData call before currentShow and nextShow get assigned
This commit is contained in:
parent
8f214c2ae6
commit
3277a81221
|
@ -239,11 +239,11 @@ function parseItems(obj){
|
||||||
if (nextSong !== null)
|
if (nextSong !== null)
|
||||||
calcAdditionalData(nextSong);
|
calcAdditionalData(nextSong);
|
||||||
|
|
||||||
currentShow = obj.currentShow;
|
|
||||||
nextShow = obj.nextShow;
|
|
||||||
|
|
||||||
calcAdditionalShowData(obj.currentShow);
|
calcAdditionalShowData(obj.currentShow);
|
||||||
calcAdditionalShowData(obj.nextShow);
|
calcAdditionalShowData(obj.nextShow);
|
||||||
|
|
||||||
|
currentShow = obj.currentShow;
|
||||||
|
nextShow = obj.nextShow;
|
||||||
|
|
||||||
var schedulePosixTime = convertDateToPosixTime(obj.schedulerTime);
|
var schedulePosixTime = convertDateToPosixTime(obj.schedulerTime);
|
||||||
//timezoneOffset = parseInt(obj.timezoneOffset)*1000;
|
//timezoneOffset = parseInt(obj.timezoneOffset)*1000;
|
||||||
|
|
Loading…
Reference in New Issue