Merge pull request #15955 from woocommerce/fix-15950

Only show most recent cart removal notice
This commit is contained in:
Mike Jolley 2017-07-04 10:53:20 +01:00 committed by GitHub
commit e1f2a4ac5f
1 changed files with 3 additions and 1 deletions

View File

@ -532,7 +532,9 @@ jQuery( function( $ ) {
type: 'GET',
url: $a.attr( 'href' ),
dataType: 'html',
success: update_wc_div,
success: function( response ) {
update_wc_div( response );
},
complete: function() {
unblock( $form );
unblock( $( 'div.cart_totals' ) );