Add a wait condition to prevent playlist highlight being messed up
This commit is contained in:
parent
d688a63bfa
commit
f10a5d7ec3
3 changed files with 10 additions and 0 deletions
|
|
@ -952,6 +952,7 @@ function playlistMove(from, to) {
|
|||
if(from >= q.children().length)
|
||||
return false;
|
||||
|
||||
MOVING = true;
|
||||
var old = $(q.children()[from]);
|
||||
old.hide("blind", function() {
|
||||
old.detach();
|
||||
|
|
@ -960,6 +961,7 @@ function playlistMove(from, to) {
|
|||
else
|
||||
old.insertBefore(q.children()[to]);
|
||||
old.show("blind");
|
||||
MOVING = false;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue