Permalink
Browse files

Removed incorrect false check on required attribute

  • Loading branch information...
1 parent ba71755 commit f1f97e594774812a685aa861c3d36733ee6d7e03 @mlynch mlynch committed Apr 4, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 jquery.validate.js
View
2 jquery.validate.js
@@ -845,8 +845,6 @@ $.extend($.validator, {
// and non-HTML5 browsers might have required="" markup
if (value === "") {
value = true;
- } else if (value === "false") {
- value = false;
}
// force non-HTML5 browsers to return bool
value = !!value;

0 comments on commit f1f97e5

Please sign in to comment.