diff --git a/assets/timber.js.liquid b/assets/timber.js.liquid index fe05bbc7b..2726ef4e7 100755 --- a/assets/timber.js.liquid +++ b/assets/timber.js.liquid @@ -183,9 +183,11 @@ timber.accessibleNav = function () { timber.drawersInit = function () { timber.LeftDrawer = new timber.Drawers('NavDrawer', 'left'); - timber.RightDrawer = new timber.Drawers('CartDrawer', 'right', { - {% if settings.ajax_cart_method == "drawer" %}'onDrawerOpen': ajaxCart.load{% endif %} - }); + {% if settings.ajax_cart_method == "drawer" %} + timber.RightDrawer = new timber.Drawers('CartDrawer', 'right', { + 'onDrawerOpen': ajaxCart.load + }); + {% endif %} }; timber.mobileNavToggle = function () { diff --git a/layout/theme.liquid b/layout/theme.liquid index ba7db5f02..54c2aec61 100755 --- a/layout/theme.liquid +++ b/layout/theme.liquid @@ -132,18 +132,20 @@ -