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
When I add any item to cart I expect this should be triggered $(document.body).trigger('edd_quantity_updated', [ response.cart_quantity ]);
Actual behavior
When I add item to cart this $(document.body).trigger('edd_quantity_updated', [ response.cart_quantity ]); not trigger when there is no span.edd-cart-quantity DOM because of this code:
Bug Report
Expected behavior
When I add any item to cart I expect this should be triggered
$(document.body).trigger('edd_quantity_updated', [ response.cart_quantity ]);
Actual behavior
When I add item to cart this
$(document.body).trigger('edd_quantity_updated', [ response.cart_quantity ]);
not trigger when there is nospan.edd-cart-quantity
DOM because of this code:Steps to reproduce the behavior
$(document.body).trigger('edd_quantity_updated', [ response.cart_quantity ]);
should be out from$('span.edd-cart-quantity').each(function() {});
The text was updated successfully, but these errors were encountered: