Skip to content

Commit

Permalink
Merge pull request #2516 from strangerstudios/revert-2511-require-che…
Browse files Browse the repository at this point in the history
…ckout-fields-html5

Revert "Add html5 required attribute to field to checkout fields"
  • Loading branch information
ideadude authored Jun 14, 2023
2 parents c829257 + 04939c7 commit 5778363
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion js/pmpro-checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ jQuery(document).ready(function(){
//add required to required fields
if ( ! jQuery( '.pmpro_required' ).next().hasClass( "pmpro_asterisk" ) ) {
jQuery( '.pmpro_required' ).closest( '.pmpro_checkout-field' ).append( '<span class="pmpro_asterisk"> <abbr title="Required Field">*</abbr></span>' );
jQuery( '.pmpro_required' ).attr( 'required', 'required' );
}

//Loop through all radio type fields and move the asterisk.
Expand Down

0 comments on commit 5778363

Please sign in to comment.