Browse Source

#308: * allow drop text

pull/346/head
RubaXa 10 years ago
parent
commit
c1f6cf50c4
  1. 6
      Sortable.js

6
Sortable.js

@ -530,10 +530,6 @@
isOwner = (activeGroup === group),
canSort = options.sort;
if (!dragEl) {
return;
}
if (evt.preventDefault !== void 0) {
evt.preventDefault();
!options.dragoverBubble && evt.stopPropagation();
@ -754,9 +750,11 @@
var type = evt.type;
if (type === 'dragover' || type === 'dragenter') {
if (dragEl) {
this._onDragOver(evt);
_globalDragOver(evt);
}
}
else if (type === 'drop' || type === 'dragend') {
this._onDrop(evt);
}

Loading…
Cancel
Save