Changeset 40634
- Timestamp:
- 05/11/2017 07:17:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/js/common.js
r40268 r40634 80 80 return !$( form ) 81 81 .find( '.form-required' ) 82 .filter( function() { return $( ' input:visible', this ).val() === ''; } )82 .filter( function() { return $( ':input:visible', this ).val() === ''; } ) 83 83 .addClass( 'form-invalid' ) 84 .find( ' input:visible' )84 .find( ':input:visible' ) 85 85 .change( function() { $( this ).closest( '.form-invalid' ).removeClass( 'form-invalid' ); } ) 86 86 .length;
Note: See TracChangeset
for help on using the changeset viewer.