/home/suroeste/public_html/wp-content/plugins/woocommerce/assets/js/frontend
NameSizeModeActions
add-payment-method.js14150644editdlrm
add-payment-method.min.js9050644editdlrm
add-to-cart-variation.js285710644editdlrm
add-to-cart-variation.min.js137860644editdlrm
add-to-cart.js57990644editdlrm
add-to-cart.min.js30580644editdlrm
address-i18n.js49710644editdlrm
address-i18n.min.js26540644editdlrm
cart-fragments.js56390644editdlrm
cart-fragments.min.js29390644editdlrm
cart.js164030644editdlrm
cart.min.js79900644editdlrm
checkout.js262970644editdlrm
checkout.min.js151710644editdlrm
country-select.js62390644editdlrm
country-select.min.js34080644editdlrm
credit-card-form.js5880644editdlrm
credit-card-form.min.js5180644editdlrm
geolocation.js38450644editdlrm
geolocation.min.js12860644editdlrm
lost-password.js1590644editdlrm
lost-password.min.js1320644editdlrm
order-attribution.js66990644editdlrm
order-attribution.min.js23560644editdlrm
password-strength-meter.js38000644editdlrm
password-strength-meter.min.js20300644editdlrm
price-slider.js30650644editdlrm
price-slider.min.js21380644editdlrm
single-product.js104500644editdlrm
single-product.min.js64290644editdlrm
tokenization-form.js38410644editdlrm
tokenization-form.min.js22640644editdlrm
woocommerce.js39270644editdlrm
woocommerce.min.js24670644editdlrm
wp-consent-api-integration.js7270644editdlrm
wp-consent-api-integration.min.js4350644editdlrm
Edit: /home/suroeste/public_html/wp-content/plugins/woocommerce/assets/js/frontend/add-payment-method.js (1415B)
jQuery( function( $ ) { // woocommerce_params is required to continue, ensure the object exists if ( typeof woocommerce_params === 'undefined' ) { return false; } $( '#add_payment_method' ) /* Payment option selection */ .on( 'click init_add_payment_method', '.payment_methods input.input-radio', function() { if ( $( '.payment_methods input.input-radio' ).length > 1 ) { var target_payment_box = $( 'div.payment_box.' + $( this ).attr( 'ID' ) ); if ( $( this ).is( ':checked' ) && ! target_payment_box.is( ':visible' ) ) { $( 'div.payment_box' ).filter( ':visible' ).slideUp( 250 ); if ( $( this ).is( ':checked' ) ) { $( 'div.payment_box.' + $( this ).attr( 'ID' ) ).slideDown( 250 ); } } } else { $( 'div.payment_box' ).show(); } }) // Trigger initial click .find( 'input[name=payment_method]:checked' ).trigger( 'click' ); $( '#add_payment_method' ).on( 'submit', function() { $( '#add_payment_method' ).block({ message: null, overlayCSS: { background: '#fff', opacity: 0.6 } }); }); $( document.body ).trigger( 'init_add_payment_method' ); // Prevent firing multiple requests upon double clicking the buttons in payment methods table $(' .woocommerce .payment-method-actions .button.delete' ).on( 'click' , function( event ) { if ( $( this ).hasClass( 'disabled' ) ) { event.preventDefault(); } $( this ).addClass( 'disabled' ); }); });