Browse Source

* fixed 'clone'

pull/126/merge
RubaXa 10 years ago
parent
commit
fc05a7be57
  1. 3
      Sortable.js
  2. 2
      Sortable.min.js

3
Sortable.js

@ -480,7 +480,6 @@
evt.preventDefault();
evt.stopPropagation();
cloneEl.parentNode.removeChild(cloneEl);
ghostEl && ghostEl.parentNode.removeChild(ghostEl);
if( dragEl ){
@ -501,6 +500,8 @@
// Update event
_dispatchEvent(dragEl, 'update');
_dispatchEvent(dragEl, 'sort');
cloneEl.parentNode.removeChild(cloneEl);
}
_dispatchEvent(rootEl, 'end');

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save