Browse Source

move back to checked property, add nullifying array before saving checked inputs

pull/1225/head
epoberezhny 7 years ago
parent
commit
d9ae21c6f8
  1. 4
      Sortable.js

4
Sortable.js

@ -1032,7 +1032,7 @@
Sortable.active = null;
savedInputChecked.forEach(function (el) {
el.setAttribute('checked', true);
el.checked = true;
});
savedInputChecked.length = 0;
},
@ -1480,6 +1480,8 @@
}
function _saveInputCheckedState(root) {
savedInputChecked.length = 0;
var inputs = root.getElementsByTagName('input');
var idx = inputs.length;

Loading…
Cancel
Save