Browse Source

Refactor

pull/1200/head
Luiz Corte Real 7 years ago committed by Tech
parent
commit
e2a57cbbd9
  1. 7
      Sortable.js
  2. 2
      Sortable.min.js

7
Sortable.js

@ -526,14 +526,15 @@
_css(ghostEl, 'display', 'none'); _css(ghostEl, 'display', 'none');
} }
var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY), var target = document.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
i = touchDragOverListeners.length; var parent = target;
var i = touchDragOverListeners.length;
if (target && target.shadowRoot) { if (target && target.shadowRoot) {
target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY); target = target.shadowRoot.elementFromPoint(touchEvt.clientX, touchEvt.clientY);
parent = target;
} }
var parent = target;
if (parent) { if (parent) {
do { do {
if (parent[expando]) { if (parent[expando]) {

2
Sortable.min.js vendored

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