Skip to content

Commit

Permalink
SortableJS#1640: Fix OnSpill destroy error
Browse files Browse the repository at this point in the history
  • Loading branch information
owen-m1 committed Sep 27, 2019
1 parent 8dcb48a commit 68a5115
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/OnSpill/OnSpill.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const drop = function({
hideGhostForTarget,
unhideGhostForTarget
}) {
if (!originalEvent) return;
let toSortable = putSortable || activeSortable;
hideGhostForTarget();
let touch = originalEvent.changedTouches && originalEvent.changedTouches.length ? originalEvent.changedTouches[0] : originalEvent;
Expand Down

0 comments on commit 68a5115

Please sign in to comment.