Fixed changing album info

This commit is contained in:
gballan1 2016-11-28 21:32:02 -05:00
parent b178bd5236
commit 8b42f39aa1

View File

@ -31,7 +31,7 @@ function changeSelectedAlbum(albumElem) {
} }
function getAlbumInfo(albumElem) { function getAlbumInfo(albumElem) {
albumElem = $(albumElem); albumElem = $(albumElem).parent();
$.get('/apiv1/music/album-info/' + albumElem.data('albumid'), function(data) { $.get('/apiv1/music/album-info/' + albumElem.data('albumid'), function(data) {
var json = $.parseJSON(data); var json = $.parseJSON(data);