Browse Source

#308: * allow drop text

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

10
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,8 +750,10 @@
var type = evt.type;
if (type === 'dragover' || type === 'dragenter') {
this._onDragOver(evt);
_globalDragOver(evt);
if (dragEl) {
this._onDragOver(evt);
_globalDragOver(evt);
}
}
else if (type === 'drop' || type === 'dragend') {
this._onDrop(evt);

Loading…
Cancel
Save