We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66fd151 commit 92dd48cCopy full SHA for 92dd48c
src/Sortable.js
@@ -1555,9 +1555,10 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
1555
Sortable.clone =
1556
Sortable.active = null;
1557
1558
- savedInputChecked.forEach(function (el) {
1559
- if (this.el.contains(el)) {
1560
- el.checked = true;
+ let el = this.el;
+ savedInputChecked.forEach(function (checkEl) {
+ if (el.contains(checkEl)) {
1561
+ checkEl.checked = true;
1562
}
1563
});
1564
0 commit comments