mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Fixed transition with song height, and upped the speed of the transition
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -478,10 +478,10 @@ ul #chat-log{
|
||||
background-color: rgba(255, 255, 255, 0.04);
|
||||
color:white;
|
||||
font:12px Arial,sans-serif;
|
||||
-webkit-transition:height .5s;
|
||||
-moz-transition:height .5s;
|
||||
-o-transition:height .5s;
|
||||
transition:height .5s;
|
||||
-webkit-transition:height .3s;
|
||||
-moz-transition:height .3s;
|
||||
-o-transition:height .3s;
|
||||
transition:height .3s;
|
||||
height:66px;
|
||||
}
|
||||
.list-song .card-content{padding:0;}
|
||||
|
||||
@@ -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")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user