Browse Source

Fix issue with evt.path in Firefox, IE

pull/1159/head
Varunkumar Nagarajan 7 years ago
parent
commit
394367a380
  1. 2
      Sortable.js
  2. 2
      Sortable.min.js

2
Sortable.js

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

2
Sortable.min.js vendored

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