Browse Source

Fix deadlock when having a form with name=host

pull/1363/head
Timo Schwarzer 6 years ago
parent
commit
a8b83eeac3
  1. 6
      Sortable.js
  2. 2
      Sortable.min.js

6
Sortable.js

@ -1239,9 +1239,9 @@
function _getParentOrHost(el) { function _getParentOrHost(el) {
var parent = el.host; return (el.host && el !== document && el.host.nodeType)
? el.host
return (parent && parent.nodeType) ? parent : el.parentNode; : el.parentNode;
} }

2
Sortable.min.js vendored

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