Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Commit

Permalink
Merge pull request #567 from Shopify/express-button-fix
Browse files Browse the repository at this point in the history
Fix JS syntax on StorefrontExpressButtons
  • Loading branch information
cshold committed Aug 25, 2016
2 parents bc0c644 + 5ea101c commit 98d2fb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/ajax-cart.js.liquid
Expand Up @@ -356,7 +356,7 @@ var ajaxCart = (function(module, $) {
$body.removeClass('drawer--is-loading');
$body.trigger('afterCartLoad.ajaxCart', cart);

if (window.Shopify && Shopify.StorefrontExpressButtons)
if (window.Shopify && Shopify.StorefrontExpressButtons) {
Shopify.StorefrontExpressButtons.initialize();
}
};
Expand Down

0 comments on commit 98d2fb2

Please sign in to comment.