Skip to content

Commit

Permalink
[-] FO : Correct bad ajax cart behavior on mobile #PSCSX-3772
Browse files Browse the repository at this point in the history
  • Loading branch information
tchauviere committed Oct 31, 2014
1 parent 04f5776 commit 35d3143
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion themes/default-bootstrap/js/modules/blockcart/ajax-cart.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ $(document).ready(function(){
{
if ($(this).next('.cart_block:visible').length && !cart_block.isHoveringOver())
$("#header .cart_block").stop(true, true).slideUp(450);
else
else if (ajaxCart.nb_total_products > 0 || cart_qty > 0)
$("#header .cart_block").stop(true, true).slideDown(450);

return;
Expand Down

0 comments on commit 35d3143

Please sign in to comment.