Update checkout.js

This commit is contained in:
proArtex 2017-01-23 18:33:00 +03:00 committed by GitHub
parent 4a1d5d3b0c
commit 811f657974
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ jQuery( function( $ ) {
},
submit_error: function( error_message ) {
$( '.woocommerce-error, .woocommerce-message' ).remove();
wc_checkout_form.$checkout_form.prepend( error_message );
wc_checkout_form.$checkout_form.prepend( '<div class="woocommerce-NoticeGroup-updateOrderReview">' + error_message + '</div>' );
wc_checkout_form.$checkout_form.removeClass( 'processing' ).unblock();
wc_checkout_form.$checkout_form.find( '.input-text, select, input:checkbox' ).blur();
$( 'html, body' ).animate({