Permalink
Browse files

Revert to also converting parameters of range method to numbers. Closes

gh-702

Unlike min/max, there's no range attribute in html5. For dates, min/max can be used.
  • Loading branch information...
1 parent 8250adb commit 10d90529c9e4ac342871c89ef96e13a0735e4ad3 @jcbowman jcbowman committed with jzaefferer Mar 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 jquery.validate.js
View
@@ -940,7 +940,7 @@ $.extend($.validator, {
rules[this] = Number(rules[this]);
}
});
- $.each(['rangelength'], function() {
+ $.each(['rangelength', 'range'], function() {
var parts;
if ( rules[this] ) {
if ( $.isArray(rules[this]) ) {

0 comments on commit 10d9052

Please sign in to comment.