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 527485d commit b47d6b3Copy full SHA for b47d6b3
plugins/MultiDrag/MultiDrag.js
@@ -355,10 +355,7 @@ function MultiDragPlugin() {
355
children = parentEl.children;
356
357
// Multi-drag selection
358
- if (!dragStarted) {
359
- if (options.multiDragKey && !this.multiDragKeyDown) {
360
- MultiDrag.utils.clear();
361
- }
+ if (!dragStarted && (!options.multiDragKey || this.multiDragKeyDown)) {
362
toggleClass(dragEl, options.selectedClass, !~multiDragElements.indexOf(dragEl));
363
364
if (!~multiDragElements.indexOf(dragEl)) {
0 commit comments