Skip to content

Commit

Permalink
Merge pull request SortableJS#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 a89d04f + 18b23a4 commit 89e3e3c
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 89e3e3c

Please sign in to comment.