Browse Source

#199: + check 'dataTransfer' exists

requirejs
RubaXa 10 years ago
parent
commit
0ffa616f10
  1. 2
      Sortable.js

2
Sortable.js

@ -372,8 +372,10 @@
this._loopId = setInterval(this._emulateDragOver, 150);
}
else {
if (dataTransfer) {
dataTransfer.effectAllowed = 'move';
options.setData && options.setData.call(this, dataTransfer, dragEl);
}
_on(document, 'drop', this);
}

Loading…
Cancel
Save