Browse Source

#1143: + additional parent check

pull/1191/head
RubaXa 7 years ago
parent
commit
1f7036c6c3
  1. 2
      Sortable.js

2
Sortable.js

@ -643,8 +643,10 @@
// #1143: IFrame support workaround
_nextTick(function () {
if (dragEl && (dragEl.parentNode === rootEl)) {
rootEl.insertBefore(cloneEl, dragEl);
_dispatchEvent(_this, rootEl, 'clone', dragEl);
}
});
}

Loading…
Cancel
Save