Skip to content

Commit 830088a

Browse files
committed
Merge pull request #777 from mafl/jQuery2
Fixing #737, for jQuery > 1.6: .attr() should be .prop() for properties
2 parents cdb175c + f1033c8 commit 830088a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/jquery.validationEngine.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@
910910
case "checkbox":
911911
// new validation style to only check dependent field
912912
if (condRequired) {
913-
if (!field.attr('checked')) {
913+
if (!field.prop('checked')) {
914914
return options.allrules[rules[i]].alertTextCheckboxMultiple;
915915
}
916916
break;

0 commit comments

Comments
 (0)