Browse Source

Fix event path for firefox

pull/1382/head
Gaetan D 6 years ago
parent
commit
891094b0f5
  1. 2
      Sortable.js
  2. 2
      Sortable.min.js

2
Sortable.js

@ -337,7 +337,7 @@
type = evt.type, type = evt.type,
touch = evt.touches && evt.touches[0], touch = evt.touches && evt.touches[0],
target = (touch || evt).target, target = (touch || evt).target,
originalTarget = evt.target.shadowRoot && (evt.path && evt.path[0]) || target, originalTarget = evt.target.shadowRoot && ((evt.path && evt.path[0]) || (evt.composedPath && evt.composedPath()[0])) || target,
filter = options.filter, filter = options.filter,
startIndex; startIndex;

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save