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); target.parentNode.insertBefore(dragEl, after ? nextSibling : target);
} }
} }
if (dragEl) {
parentEl = dragEl.parentNode; // actualization parentEl = dragEl.parentNode; // actualization
}
this._animate(dragRect, dragEl); this._animate(dragRect, dragEl);
this._animate(targetRect, target); this._animate(targetRect, target);

Loading…
Cancel
Save