Browse Source

Fix issue with dragEl undefined when moving with a Polymer element

pull/839/head
Tim van der Lippe 9 years ago
parent
commit
643d9afe85
  1. 5
      Sortable.js

5
Sortable.js

@ -744,8 +744,9 @@
target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
}
}
parentEl = dragEl.parentNode; // actualization
if (dragEl) {
parentEl = dragEl.parentNode; // actualization
}
this._animate(dragRect, dragEl);
this._animate(targetRect, target);

Loading…
Cancel
Save