Browse Source

update working with checkboxes

pull/1220/head
Eugene 7 years ago
parent
commit
b0389176ea
  1. 4
      Sortable.js
  2. 3
      Sortable.min.js

4
Sortable.js

@ -1032,7 +1032,7 @@
Sortable.active = null;
savedInputChecked.forEach(function (el) {
el.checked = true;
el.setAttribute('checked', true);
});
savedInputChecked.length = 0;
},
@ -1485,7 +1485,7 @@
while (idx--) {
var el = inputs[idx];
el.checked && savedInputChecked.push(el);
el.checked && (savedInputChecked.indexOf(el) !== -1) && savedInputChecked.push(el);
}
}

3
Sortable.min.js vendored

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