Browse Source

Merge pull request #684 from matikun86/master

Fix for Issue #580 [Angular] Javascript error when moving items between two lists very fast #683
pull/641/merge
Lebedev Konstantin 9 years ago
parent
commit
f26d300c03
  1. 2
      ng-sortable.js

2
ng-sortable.js

@ -132,7 +132,7 @@
return opts; return opts;
}, { }, {
onStart: function (/**Event*/evt) { onStart: function (/**Event*/evt) {
nextSibling = evt.item.nextSibling; nextSibling = evt.from === evt.item.parentNode ? evt.item.nextSibling : evt.clone.nextSibling;
_emitEvent(evt); _emitEvent(evt);
scope.$apply(); scope.$apply();
}, },

Loading…
Cancel
Save