Browse Source

Merge pull request #1225 from epoberezhny/checkboxes-fix

Checkboxes fix
pull/1242/head
Lebedev Konstantin 7 years ago committed by GitHub
parent
commit
cc95fd94a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Sortable.js
  2. 2
      Sortable.min.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;

2
Sortable.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save