Fix for images not loading when songchange

This commit is contained in:
Kasper Rynning-Tønnesen
2015-07-03 17:40:51 +02:00
parent a55836b28a
commit 6b3358e113

View File

@@ -66,6 +66,8 @@ var List = {
full_playlist.push(full_playlist.shift()); full_playlist.push(full_playlist.shift());
$("#wrapper").children()[0].remove(); $("#wrapper").children()[0].remove();
List.insertAtIndex($("#wrapper").children().length, full_playlist[full_playlist.length-2], false); List.insertAtIndex($("#wrapper").children().length, full_playlist[full_playlist.length-2], false);
document.getElementById('wrapper').scrollTop += 1;
document.getElementById('wrapper').scrollTop -= 1;
//populate_list(full_playlist); //populate_list(full_playlist);
} }
}, },