trim whitespace so parseHTML only contains HTML
Conflicts: assets/js/frontend/checkout.min.js
This commit is contained in:
parent
508854effe
commit
17cb8e017a
|
@ -72,7 +72,7 @@ jQuery(function($) {
|
|||
data: data,
|
||||
success: function( response ) {
|
||||
if ( response ) {
|
||||
var order_output = $($.parseHTML(response));
|
||||
var order_output = $($.parseHTML(response.trim()));
|
||||
$('#order_review').html(order_output.html());
|
||||
$('body').trigger('updated_checkout');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue