Browse Source

Update Sortable.js

In some cases `el.host` is the current host name
pull/961/head
Nikita SVIRIDENKO 8 years ago committed by GitHub
parent
commit
d8d74e0078
  1. 2
      Sortable.js

2
Sortable.js

@ -1002,7 +1002,7 @@
return el;
}
}
while (el = ('host' in el) ? el.host : el.parentNode)
while (el = ('host' in el && typeof el.host !== 'string') ? el.host : el.parentNode)
}
return null;

Loading…
Cancel
Save