Skip to content

Commit d7c04a8

Browse files
committed
Issue 36207: Validation messages are duplicated on customer registration form and other input forms
1 parent d6ff7b7 commit d7c04a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/web/jquery/jquery.validate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@
10401040
// 'aria-describedby' should directly reference the error element
10411041
if ( describer ) {
10421042
selector = selector + ", #" + this.escapeCssMeta( describer )
1043-
.replace( /\s+/g, ", #" );
1043+
.replace( /\s+/g, ", #" ) + ":visible";
10441044
}
10451045

10461046
return this

0 commit comments

Comments
 (0)