Browse Source

Update Sortable.js

pull/961/head
Nikita SVIRIDENKO 8 years ago committed by GitHub
parent
commit
ace2da13e2
  1. 7
      Sortable.js

7
Sortable.js

@ -1002,13 +1002,18 @@
return el; return el;
} }
} }
while (el = ('host' in el && typeof el.host !== 'string') ? 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