parent
ac8d97ab54
commit
4cfabb8e16
|
@ -166,6 +166,10 @@ jQuery( function( $ ) {
|
||||||
wc_checkout_form.xhr.abort();
|
wc_checkout_form.xhr.abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( $( 'form.checkout' ).size() === 0 ) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var shipping_methods = [];
|
var shipping_methods = [];
|
||||||
|
|
||||||
$( 'select.shipping_method, input[name^=shipping_method][type=radio]:checked, input[name^=shipping_method][type=hidden]' ).each( function( index, input ) {
|
$( 'select.shipping_method, input[name^=shipping_method][type=radio]:checked, input[name^=shipping_method][type=hidden]' ).each( function( index, input ) {
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue