trim whitespace so parseHTML only contains HTML

Conflicts:
	assets/js/frontend/checkout.min.js
This commit is contained in:
Marc Pfister 2014-02-28 08:18:41 -07:00 committed by Coen Jacobs
parent 508854effe
commit 17cb8e017a
1 changed files with 1 additions and 1 deletions

View File

@ -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');
}