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 #422 from Shopify/fix-js-error
Browse files Browse the repository at this point in the history
Fix JS error when ajax cart disabled
  • Loading branch information
cshold committed May 25, 2015
2 parents 3ab33cb + 2ff823e commit cd7a3c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/timber.js.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ timber.accessibleNav = function () {
timber.drawersInit = function () {
timber.LeftDrawer = new timber.Drawers('NavDrawer', 'left');
timber.RightDrawer = new timber.Drawers('CartDrawer', 'right', {
'onDrawerOpen': ajaxCart.load
{% if settings.ajax_cart_enable %}'onDrawerOpen': ajaxCart.load{% endif %}
});
};

Expand Down

0 comments on commit cd7a3c4

Please sign in to comment.