Fixed transition with song height, and upped the speed of the transition

This commit is contained in:
Kasper Rynning-Tønnesen
2015-06-25 17:33:35 +02:00
parent 5ac07f6dd0
commit 8db9663827
3 changed files with 7 additions and 8 deletions

View File

@@ -30,11 +30,10 @@ var List = {
}, 'added'));
List.insertAtIndex(List.getIndexOfSong(msg[1].id), msg[1], true);
var test = $("#wrapper").children()[List.getIndexOfSong(msg[1].id)];
setTimeout(function(){
var test = $("#wrapper").children()[List.getIndexOfSong(msg[1].id)];
$(test).css("height", 66);
},0);
},5);
}else if(msg[0] == "deleted")
{