We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2be88e3 commit 0a88f9aCopy full SHA for 0a88f9a
1 file changed
src/Sortable.js
@@ -1538,9 +1538,10 @@ Sortable.prototype = /** @lends Sortable.prototype */ {
1538
Sortable.clone =
1539
Sortable.active = null;
1540
1541
- savedInputChecked.forEach(function (el) {
1542
- if (this.el.contains(el)) {
1543
- el.checked = true;
+ let el = this.el;
+ savedInputChecked.forEach(function (checkEl) {
+ if (el.contains(checkEl)) {
1544
+ checkEl.checked = true;
1545
}
1546
});
1547
0 commit comments