Skip to content

Commit

Permalink
Merge pull request #2094 from vanboom/master
Browse files Browse the repository at this point in the history
Issue #2093 remove ID from the cloned element prior to adding to the …
  • Loading branch information
owen-m1 committed Dec 2, 2021
2 parents c047ac2 + 840f9ae commit 8e8a107
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Sortable.js
Original file line number Diff line number Diff line change
Expand Up @@ -924,7 +924,7 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
pluginEvent('setupClone', this);
if (!Sortable.eventCanceled) {
cloneEl = clone(dragEl);

cloneEl.removeAttribute("id");
cloneEl.draggable = false;
cloneEl.style['will-change'] = '';

Expand Down

0 comments on commit 8e8a107

Please sign in to comment.