Browse Source

fix move outside issue

pull/1338/head
Sergej Karavajnij 6 years ago
parent
commit
fa326ca2d4
  1. 2
      Sortable.js
  2. 2
      Sortable.min.js

2
Sortable.js

@ -791,7 +791,7 @@
if ((el.children.length === 0) || (el.children[0] === ghostEl) ||
(el === evt.target) && (_ghostIsLast(el, evt))
(el === evt.target) && (target = _ghostIsLast(el, evt))
) {
//assign target only if condition is true
if (el.children.length !== 0 && el.children[0] !== ghostEl && el === evt.target) {

2
Sortable.min.js vendored

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