woocommerce/assets/js/frontend/credit-card-form.min.js

1 line
449 B
JavaScript
Raw Normal View History

jQuery(function(e){e(".wc-credit-card-form-card-number").payment("formatCardNumber");e(".wc-credit-card-form-card-expiry").payment("formatCardExpiry");e(".wc-credit-card-form-card-cvc").payment("formatCardCVC");e("body").on("updated_checkout",function(){e(".wc-credit-card-form-card-number").payment("formatCardNumber");e(".wc-credit-card-form-card-expiry").payment("formatCardExpiry");e(".wc-credit-card-form-card-cvc").payment("formatCardCVC")})})