Skip to content

Commit 703b98e

Browse files
author
victorjonsson
committed
bug fix in restrictLenth()
1 parent 51d4492 commit 703b98e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

validator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@
263263
*/
264264
restrictLength : function(maxLengthElement){
265265
new jQueryFormHelper.lengthRestriction(this, maxLengthElement);
266-
//return this;
266+
return this;
267267
}
268268

269269
});

0 commit comments

Comments
 (0)