Browse Source

* fixed _onDrop

pull/126/merge
RubaXa 10 years ago
parent
commit
6fd307a889
  1. 3
      Sortable.js

3
Sortable.js

@ -472,6 +472,7 @@
evt.stopPropagation(); evt.stopPropagation();
if( ghostEl ){ if( ghostEl ){
cloneEl.parentNode.removeChild(cloneEl);
ghostEl.parentNode.removeChild(ghostEl); ghostEl.parentNode.removeChild(ghostEl);
} }
@ -494,8 +495,6 @@
_dispatchEvent(dragEl, 'end'); _dispatchEvent(dragEl, 'end');
} }
cloneEl.parentNode.removeChild(cloneEl);
// Set NULL // Set NULL
rootEl = rootEl =
dragEl = dragEl =

Loading…
Cancel
Save