I have this weird behaviour when I add the product to cart it redirects me to cart page instead of opening the cart drawer on the right site. Interestingly enough on mobile I won't get redirected and the drawer will appear as expected. Any ideas on how to fix this?
I check the console in chrome and I get some error:
theme.js?v=17807274406108055953:9 Uncaught TypeError: Cannot read property 'addClass' of undefined at Object.loadCart [as onDrawerOpen] (theme.js?v=17807274406108055953:9) at Drawer.timber.Drawers.Drawer.open (theme.js?v=17807274406108055953:9) at HTMLAnchorElement.f (jquery-2.2.3.min.js?v=5821186314690718683:2) at HTMLAnchorElement.dispatch (jquery-2.2.3.min.js?v=5821186314690718683:3) at HTMLAnchorElement.r.handle (jquery-2.2.3.min.js?v=5821186314690718683:3)
I don't have this kind of error on this same exact theme. I don't know what did I type wrong.