We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05e5343 commit 87cd7d6Copy full SHA for 87cd7d6
plugins/MultiDrag/MultiDrag.js
@@ -215,7 +215,7 @@ function MultiDragPlugin() {
215
return;
216
}
217
218
- const toSortable = target.parentNode && target.parentNode[expando];
+ const toSortable = target.parentNode[expando];
219
220
if (!toSortable || multiDragElements.length === 0) {
221
@@ -360,6 +360,7 @@ function MultiDragPlugin() {
360
if (options.multiDragKey && !this.multiDragKeyDown) {
361
MultiDrag.utils.clear();
362
363
+ toggleClass(dragEl, options.selectedClass, !~multiDragElements.indexOf(dragEl));
364
365
if (!~multiDragElements.indexOf(dragEl)) {
366
multiDragElements.push(dragEl);
0 commit comments