Fixed: The ajax-cart pop up closes after first click on mobile devices

This commit is contained in:
vishalsingh.qlo325
2024-08-02 15:42:07 +05:30
parent c6c3d44a09
commit 4e70b654d2

View File

@@ -64,8 +64,10 @@ $(document).ready(function() {
$("#header .shopping_cart a:first").hover(
function() {
if (ajaxCart.nb_total_products > 0 || parseInt($('.ajax_cart_quantity').html()) > 0)
$("#header .cart_block").stop(true, true).slideDown(450);
if (!is_touch_enabled) {
if (ajaxCart.nb_total_products > 0 || parseInt($('.ajax_cart_quantity').html()) > 0)
$("#header .cart_block").stop(true, true).slideDown(450);
}
},
function() {
setTimeout(function() {