Skip to content

Commit 1a79646

Browse files
authored
Merge pull request #1689 from kcak11/master
Added type check for 'dragStarted' variable as this is causing thousa…
2 parents ec7b5e9 + ac5ec44 commit 1a79646

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugins/MultiDrag/MultiDrag.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ function MultiDragPlugin() {
467467
},
468468

469469
_deselectMultiDrag(evt) {
470-
if (dragStarted) return;
470+
if (typeof dragStarted !== "undefined" && dragStarted) return;
471471

472472
// Only deselect if selection is in this sortable
473473
if (multiDragSortable !== this.sortable) return;

0 commit comments

Comments
 (0)