Fix drag bug
This commit is contained in:
parent
1bf1253963
commit
343e63f41b
@ -113,7 +113,7 @@
|
|||||||
el.classList.remove('is-moving');
|
el.classList.remove('is-moving');
|
||||||
self.options.dropBoard(el, target, source, sibling);
|
self.options.dropBoard(el, target, source, sibling);
|
||||||
if (typeof (el.dropfn) === 'function')
|
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
|
// TODO: update board object board order
|
||||||
console.log("Drop " + $(el).attr("data-id") + " just before " + (sibling ? $(sibling).attr("data-id") : " end "));
|
console.log("Drop " + $(el).attr("data-id") + " just before " + (sibling ? $(sibling).attr("data-id") : " end "));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user