Browse Source

Merge pull request #961 from n-sviridenko/patch-1

Update Sortable.js
pull/956/merge
Lebedev Konstantin 8 years ago committed by GitHub
parent
commit
750174a10f
  1. 7
      Sortable.js

7
Sortable.js

@ -1002,13 +1002,18 @@
return el; return el;
} }
} }
while (el = ('host' in el) ? el.host : el.parentNode) while (el = _getParentOrHost(el))
} }
return null; return null;
} }
function _getParentOrHost(el) {
var parent = el.host;
return (parent && parent.nodeType) ? parent : el.parentNode;
}
function _globalDragOver(/**Event*/evt) { function _globalDragOver(/**Event*/evt) {

Loading…
Cancel
Save