mirror of https://github.com/calzoneman/sync.git
Tweak animations
This commit is contained in:
parent
feabf35714
commit
feca68538e
|
@ -1061,17 +1061,17 @@ function playlistMove(from, after, cb) {
|
||||||
var q = $("#queue");
|
var q = $("#queue");
|
||||||
|
|
||||||
if(after === "prepend") {
|
if(after === "prepend") {
|
||||||
lifrom.hide("fade", function() {
|
lifrom.hide("blind", function() {
|
||||||
lifrom.detach();
|
lifrom.detach();
|
||||||
lifrom.prependTo(q);
|
lifrom.prependTo(q);
|
||||||
lifrom.show("fade", cb);
|
lifrom.show("blind", cb);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else if(after === "append") {
|
else if(after === "append") {
|
||||||
lifrom.hide("fade", function() {
|
lifrom.hide("blind", function() {
|
||||||
lifrom.detach();
|
lifrom.detach();
|
||||||
lifrom.appendTo(q);
|
lifrom.appendTo(q);
|
||||||
lifrom.show("fade", cb);
|
lifrom.show("blind", cb);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
@ -1080,10 +1080,10 @@ function playlistMove(from, after, cb) {
|
||||||
cb(false);
|
cb(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
lifrom.hide("fade", function() {
|
lifrom.hide("blind", function() {
|
||||||
lifrom.detach();
|
lifrom.detach();
|
||||||
lifrom.insertAfter(liafter);
|
lifrom.insertAfter(liafter);
|
||||||
lifrom.show("fade", cb);
|
lifrom.show("blind", cb);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue