diff --git a/themes/bootstrap/js/cart.js b/themes/bootstrap/js/cart.js index 695c3b91faa7f12da0b61561cbf6b33de92aed11..64c42a96fb766de775f4add4aa83171018e8ed96 100644 --- a/themes/bootstrap/js/cart.js +++ b/themes/bootstrap/js/cart.js @@ -143,7 +143,9 @@ function registerUpdateCart($form) { $('#'+elId).data('popover').options.content = vufindString.bulk_noitems_advice; } $('#'+elId).popover('toggle'); - clearTimeout(cartNotificationTimeout); + if (cartNotificationTimeout !== false) { + clearTimeout(cartNotificationTimeout); + } cartNotificationTimeout = setTimeout(function() { $('#'+elId).popover('hide'); }, 5000);