Skip to content

Commit

Permalink
Merge pull request #1689 from kcak11/master
Browse files Browse the repository at this point in the history
Added type check for 'dragStarted' variable as this is causing thousa…
  • Loading branch information
owen-m1 authored Dec 5, 2019
2 parents ec7b5e9 + ac5ec44 commit 1a79646
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/MultiDrag/MultiDrag.js
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ function MultiDragPlugin() {
},

_deselectMultiDrag(evt) {
if (dragStarted) return;
if (typeof dragStarted !== "undefined" && dragStarted) return;

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

0 comments on commit 1a79646

Please sign in to comment.