HEX
Server: Apache/2
System: Linux chaudang 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: mgawa (1021)
PHP: 7.3.33
Disabled: NONE
Upload Files
File: /home/mgawa/public_html/wp-content/plugins/woocommerce/assets/js/frontend/credit-card-form.js
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' );
} );