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
|
|
@ -708,6 +708,13 @@ Callbacks = {
|
|||
},
|
||||
|
||||
setPosition: function(position) {
|
||||
// Wait until any pending movement is finished
|
||||
if(MOVING) {
|
||||
setTimeout(function() {
|
||||
Callbacks.move(position);
|
||||
}, 100);
|
||||
return;
|
||||
}
|
||||
$("#queue li").each(function() {
|
||||
$(this).removeClass("queue_active");
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue