Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit10d9052

Browse files
jcbowmanjzaefferer
authored andcommitted
Revert to also converting parameters of range method to numbers.Closesjquery-validationgh-702
Unlike min/max, there's no range attribute in html5. For dates, min/max can be used.
1 parent8250adb commit10d9052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎jquery.validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ $.extend($.validator, {
940940
rules[this]=Number(rules[this]);
941941
}
942942
});
943-
$.each(['rangelength'],function(){
943+
$.each(['rangelength','range'],function(){
944944
varparts;
945945
if(rules[this]){
946946
if($.isArray(rules[this])){

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp