mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-20 09:11:40 +01:00
Fixed handling of multiple class names for errorClass option. Test by Max Lynch. Fixes #280
This commit is contained in:
committed by
Jörn Zaefferer
parent
d8210bf098
commit
bafc78671a
3
jquery.validate.js
vendored
3
jquery.validate.js
vendored
@@ -490,7 +490,8 @@ $.extend($.validator, {
|
||||
},
|
||||
|
||||
errors: function() {
|
||||
return $( this.settings.errorElement + "." + this.settings.errorClass, this.errorContext );
|
||||
var errorClass = this.settings.errorClass.replace(' ', '.');
|
||||
return $( this.settings.errorElement + "." + errorClass, this.errorContext );
|
||||
},
|
||||
|
||||
reset: function() {
|
||||
|
||||
Reference in New Issue
Block a user