Wait for movements to complete before queue callback

This commit is contained in:
calzoneman 2013-06-26 10:52:37 -04:00
parent f10a5d7ec3
commit a89f5138d3

View file

@ -649,6 +649,13 @@ Callbacks = {
},
queue: function(data) {
// Wait until pending movements are completed
if(MOVING) {
setTimeout(function() {
Callbacks.queue(data);
}, 100);
return;
}
var li = makeQueueEntry(data.media, true);
li.hide();
var idx = data.pos;