Fix :checked

This commit is contained in:
Mike Jolley 2018-06-12 15:01:22 +01:00
parent ac2d76ea53
commit e5192cfeff
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ jQuery( function( $ ) {
// Hide "save card" if "Create Account" is not checked and registration is not forced.
var hasCreateAccountCheckbox = 0 < $( 'input#createaccount' ).length,
createAccount = hasCreateAccountCheckbox && $('input#createaccount').is( ': checked' );
createAccount = hasCreateAccountCheckbox && $('input#createaccount').is( ':checked' );
if ( createAccount || this.params.is_registration_required ) {
this.showSaveNewCheckbox();