Skip to content

Commit

Permalink
Merge from dev
Browse files Browse the repository at this point in the history
  • Loading branch information
rmariuzzo committed Sep 13, 2013
2 parents 25f179e + 68ab9f5 commit eef8e1d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion build/jquery.checkboxes.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/jquery.checkboxes.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
* Toggle the state of all checkboxes in context.
*/
Checkboxes.prototype.toggle = function () {
this.$context.find(':checkbox').each(function () {
this.$context.find(':checkbox').filter(':not(:disabled)').each(function () {
var $checkbox = $(this);
$checkbox.prop('checked', !$checkbox.is(':checked'));
});
Expand Down

0 comments on commit eef8e1d

Please sign in to comment.