We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3d1ea7 commit 0e4eabfCopy full SHA for 0e4eabf
plugins/MultiDrag/MultiDrag.js
@@ -456,7 +456,7 @@ function MultiDragPlugin() {
456
multiDragClones.length = 0;
457
},
458
459
- destroy() {
+ destroyGlobal() {
460
this._deselectMultiDrag();
461
off(document, 'pointerup', this._deselectMultiDrag);
462
off(document, 'mouseup', this._deselectMultiDrag);
src/Sortable.js
@@ -1284,7 +1284,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
1284
evt
1285
});
1286
1287
- parentEl = dragEl.parentNode;
+ parentEl = dragEl && dragEl.parentNode;
1288
1289
// Get again after plugin event
1290
newIndex = index(dragEl);
0 commit comments