Fixed album selection stuff
This commit is contained in:
parent
bb7d66250b
commit
575cd6211e
@ -16,19 +16,6 @@ $(document).ready(function() {
|
||||
});
|
||||
});
|
||||
|
||||
function changeSelectedAlbum(albumElem) {
|
||||
var oldSelected = $('.music-album.selected');
|
||||
var newSelected = $(albumElem).parent();
|
||||
|
||||
if (oldSelected.data('albumid') != newSelected.data('albumid')) {
|
||||
// remove selected class from the old element and add it to the new one
|
||||
oldSelected.removeClass('selected');
|
||||
newSelected.addClass('selected');
|
||||
|
||||
// change available songs
|
||||
}
|
||||
}
|
||||
|
||||
function changeSelectedAlbum(albumElem) {
|
||||
var oldSelected = $('.music-album.selected').parent();
|
||||
var newSelected = $(albumElem).parent();
|
||||
|
Loading…
Reference in New Issue
Block a user