Fix drag bug

pull/1/head
MTRNord 6 years ago
parent 1bf1253963
commit 343e63f41b
No known key found for this signature in database
GPG Key ID: E5B89311FAB91B9F

@ -113,7 +113,7 @@
el.classList.remove('is-moving');
self.options.dropBoard(el, target, source, sibling);
if (typeof (el.dropfn) === 'function')
el.dropfn(el, target, source, sibling); el.dropfn(el, target, source, sibling);
el.dropfn(el, target, source, sibling);
// TODO: update board object board order
console.log("Drop " + $(el).attr("data-id") + " just before " + (sibling ? $(sibling).attr("data-id") : " end "));

Loading…
Cancel
Save