rebase from live enviornment
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
jQuery( function( $ ) {
|
||||
$( '.wc-credit-card-form-card-number' ).payment( 'formatCardNumber' );
|
||||
$( '.wc-credit-card-form-card-expiry' ).payment( 'formatCardExpiry' );
|
||||
$( '.wc-credit-card-form-card-cvc' ).payment( 'formatCardCVC' );
|
||||
|
||||
$( document.body )
|
||||
.on( 'updated_checkout wc-credit-card-form-init', function() {
|
||||
$( '.wc-credit-card-form-card-number' ).payment( 'formatCardNumber' );
|
||||
$( '.wc-credit-card-form-card-expiry' ).payment( 'formatCardExpiry' );
|
||||
$( '.wc-credit-card-form-card-cvc' ).payment( 'formatCardCVC' );
|
||||
})
|
||||
.trigger( 'wc-credit-card-form-init' );
|
||||
} );
|
||||
Reference in New Issue
Block a user