-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.2
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Chrome 62
-- Error-message(debug-mod must be tuned on) -- : $(...).tooltip is not a function
Sometimes when a user browses product category, he gets an error in console:
$(...).tooltip is not a function
and the rest of the scripts stops working, causing the site to be useless in our case.
Console points at the line
jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });
within the context:
<script type="text/javascript">
if(!window.localPage) window.localPage = {};
window.localPage.cartRedirect = function(cid,pid,resp){window.location="/zamowienie";};
window.localPage.wishlistRedirect = function(cid,pid,resp){window.location="/wynajem-stolow-i-stolikow/product/listing";};
jQuery(function($){ $(".hasTooltip").tooltip({"html": true,"container": "body"}); });
<!--
if(!hkjQuery) window.hkjQuery = window.jQuery;
if(!window.localPage) window.localPage = {};
window.localPage.getFormatedNumber = function(val) {
We are in:
com_hikashop view: product task: listing
Can you help me what to be the cause? Can I switch hktooltip off?