Browse Source

Merge pull request #42 from ghengeveld/master

Disable 'draggable' attribute on drop. Fixes #41
pull/43/merge
Lebedev Konstantin 11 years ago
parent
commit
70fc6dec18
  1. 1
      Sortable.js
  2. 2
      Sortable.min.js

1
Sortable.js

@ -350,6 +350,7 @@
} }
if( dragEl ){ if( dragEl ){
_disableDraggable(dragEl);
_toggleClass(dragEl, this.options.ghostClass, false); _toggleClass(dragEl, this.options.ghostClass, false);
if( !rootEl.contains(dragEl) ){ if( !rootEl.contains(dragEl) ){

2
Sortable.min.js vendored

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