Skip to content

Commit 8e8a107

Browse files
authored
Merge pull request #2094 from vanboom/master
Issue #2093 remove ID from the cloned element prior to adding to the …
2 parents c047ac2 + 840f9ae commit 8e8a107

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Sortable.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -924,7 +924,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
924924
pluginEvent('setupClone', this);
925925
if (!Sortable.eventCanceled) {
926926
cloneEl = clone(dragEl);
927-
927+
cloneEl.removeAttribute("id");
928928
cloneEl.draggable = false;
929929
cloneEl.style['will-change'] = '';
930930

0 commit comments

Comments
 (0)