Added release date to selected album info

This commit is contained in:
gballan1
2016-11-29 11:51:17 -05:00
parent d98362e55a
commit 24b2cf76bc
4 changed files with 8 additions and 0 deletions

View File

@ -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);
});