From 008c6ce75925cb8f66034252faa64710dcc3bbd0 Mon Sep 17 00:00:00 2001 From: gRoussac Date: Tue, 8 Oct 2013 18:37:50 +0200 Subject: [PATCH] [-] FO : Fix bug #PSCFV-10497 cart_block hooked on column disappearing --- modules/blockcart/ajax-cart.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js index a6d2e8272..c8348b3e6 100644 --- a/modules/blockcart/ajax-cart.js +++ b/modules/blockcart/ajax-cart.js @@ -706,18 +706,18 @@ $(document).ready(function(){ function() { $(this).css('border-radius', '3px 3px 0px 0px'); if (ajaxCart.nb_total_products > 0 || cart_qty > 0) - $("#cart_block").stop(true, true).slideDown(450); + $("#header_right #cart_block").stop(true, true).slideDown(450); }, function() { $('#shopping_cart a').css('border-radius', '3px'); setTimeout(function() { if (!shopping_cart.isHoveringOver() && !cart_block.isHoveringOver()) - $("#cart_block").stop(true, true).slideUp(450); + $("#header_right #cart_block").stop(true, true).slideUp(450); }, 200); } ); - $("#cart_block").hover( + $("#header_right #cart_block").hover( function() { $('#shopping_cart a').css('border-radius', '3px 3px 0px 0px'); }, @@ -725,7 +725,7 @@ $(document).ready(function(){ $('#shopping_cart a').css('border-radius', '3px'); setTimeout(function() { if (!shopping_cart.isHoveringOver()) - $("#cart_block").stop(true, true).slideUp(450); + $("#header_right #cart_block").stop(true, true).slideUp(450); }, 200); } );