Trigger click event correctly in checkout
This commit is contained in:
parent
bd93a0023a
commit
995f6a48f1
|
@ -80,7 +80,7 @@ jQuery( function( $ ) {
|
|||
if ( response ) {
|
||||
var order_output = $( $.parseHTML( $.trim( response ) ) );
|
||||
$( '#order_review' ).html( order_output.html() );
|
||||
$( '#order_review' ).find( 'input[name=payment_method]:checked' ).click();
|
||||
$( '#order_review' ).find( 'input[name=payment_method]:checked' ).trigger('click');
|
||||
$( 'body' ).trigger('updated_checkout' );
|
||||
}
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue