Fix issue with jQuery migration and editing addresses in wp-admin
This commit is contained in:
parent
2cf30b0190
commit
4d32ef0dac
|
@ -140,7 +140,7 @@ jQuery( function ( $ ) {
|
|||
is_billing = Boolean( $edit_address.find( 'input[name^="_billing_"]' ).length );
|
||||
|
||||
$address.hide();
|
||||
$this.parent().find( 'a' ).trigger( 'toggle' );
|
||||
$this.parent().find( 'a' ).toggle();
|
||||
|
||||
if ( ! $country_input.val() ) {
|
||||
$country_input.val( woocommerce_admin_meta_boxes_order.default_country ).trigger( 'change' );
|
||||
|
|
Loading…
Reference in New Issue