mirror of
https://github.com/jquery-validation/jquery-validation.git
synced 2025-12-20 09:11:40 +01:00
Tests and fix for focusCleanup with wrapper
This commit is contained in:
2
jquery.validate.js
vendored
2
jquery.validate.js
vendored
@@ -219,7 +219,7 @@ $.extend($.validator, {
|
||||
// hide error label and remove error class on focus if enabled
|
||||
if ( this.settings.focusCleanup && !this.blockFocusCleanup ) {
|
||||
this.settings.unhighlight && this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );
|
||||
this.errorsFor(element).hide();
|
||||
this.addWrapper(this.errorsFor(element)).hide();
|
||||
}
|
||||
},
|
||||
onfocusout: function(element) {
|
||||
|
||||
Reference in New Issue
Block a user