Move where history contents gets set further down the process
This commit is contained in:
parent
90e1ed3805
commit
d3d8e6c421
|
@ -190,12 +190,12 @@ function getSongList() {
|
||||||
volFromServer = true;
|
volFromServer = true;
|
||||||
$('#volume_slider').slider("value", data.volume);
|
$('#volume_slider').slider("value", data.volume);
|
||||||
}
|
}
|
||||||
$('#history_contents').html(data.songlist);
|
|
||||||
$('#playing_img').attr("src", data.currentsong.arturl);
|
$('#playing_img').attr("src", data.currentsong.arturl);
|
||||||
$('#playing_title').html(data.currentsong.title);
|
$('#playing_title').html(data.currentsong.title);
|
||||||
$('#playing_artist').html(data.currentsong.artist);
|
$('#playing_artist').html(data.currentsong.artist);
|
||||||
$('#playing_album').html(data.currentsong.album);
|
$('#playing_album').html(data.currentsong.album);
|
||||||
$('#playing_year').html(data.currentsong.year);
|
$('#playing_year').html(data.currentsong.year);
|
||||||
|
$('#history_contents').html(data.songlist);
|
||||||
updateChristmasButton(data.christmas);
|
updateChristmasButton(data.christmas);
|
||||||
updateMuteButton(data.muted);
|
updateMuteButton(data.muted);
|
||||||
$('#christmas_freq').val(data.christmasfreq);
|
$('#christmas_freq').val(data.christmasfreq);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user