Skip to content

Commit eef8e1d

Browse files
committed
Merge from dev
2 parents 25f179e + 68ab9f5 commit eef8e1d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

build/jquery.checkboxes.min.js

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/jquery.checkboxes.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
* Toggle the state of all checkboxes in context.
3232
*/
3333
Checkboxes.prototype.toggle = function () {
34-
this.$context.find(':checkbox').each(function () {
34+
this.$context.find(':checkbox').filter(':not(:disabled)').each(function () {
3535
var $checkbox = $(this);
3636
$checkbox.prop('checked', !$checkbox.is(':checked'));
3737
});

0 commit comments

Comments
 (0)