Merge pull request #30076 from woocommerce/fix/30075
Fix issue with jQuery migration and editing addresses in wp-admin
This commit is contained in:
commit
042582e022
|
@ -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