You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.
The callback function when toggling the cart is returned before the cart is actually loaded in the DOM. That means targeting any elements with jQuery can't happen immediately.
Fix will be to run the callback function only after .load of the contents completes.
Current solution, use a setTimeout of 1 second in your onToggleCallback to wait for the cart contents to load.
The text was updated successfully, but these errors were encountered:
The callback function when toggling the cart is returned before the cart is actually loaded in the DOM. That means targeting any elements with jQuery can't happen immediately.
Fix will be to run the callback function only after
.load
of the contents completes.Current solution, use a
setTimeout
of 1 second in youronToggleCallback
to wait for the cart contents to load.The text was updated successfully, but these errors were encountered: