Added release date to selected album info
This commit is contained in:
1 parent
d98362e55a
commit
24b2cf76bc
4 files changed
+8
No files matched your search
@@ -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