Browse Source

#538: * preventDefault only if 'active'

gh-pages
RubaXa 9 years ago
parent
commit
44c2b68758
  1. 2
      Sortable.js

2
Sortable.js

@ -665,8 +665,10 @@
this._offUpEvents();
if (evt) {
if (Sortable.active) {
evt.preventDefault();
!options.dropBubble && evt.stopPropagation();
}
ghostEl && ghostEl.parentNode.removeChild(ghostEl);

Loading…
Cancel
Save