Added release date to selected album info
This commit is contained in:
@ -45,6 +45,8 @@ function getAlbumInfo(albumElem) {
|
||||
$('#album-artwork').attr('src', json.album_art);
|
||||
// change album title
|
||||
$('#album-title').text(json.title);
|
||||
// change album release date
|
||||
$('#album-release').text(new Date(json.release_date, "January 25 2015"))
|
||||
// change album description
|
||||
$('#album-description').text(json.description);
|
||||
});
|
||||
|
Reference in New Issue
Block a user