diff --git a/modules/producttooltip/producttooltip.php b/modules/producttooltip/producttooltip.php index 8c7eca7e2..526ea197c 100644 --- a/modules/producttooltip/producttooltip.php +++ b/modules/producttooltip/producttooltip.php @@ -133,8 +133,7 @@ class ProductToolTip extends Module public function hookHeader($params) { - $this->context->controller->addCSS(__PS_BASE_URI__.'css/jquery.jgrowl.css', 'all'); - $this->context->controller->addJS(__PS_BASE_URI__.'js/jquery/jquery.jgrowl-1.2.1.min.js'); + $this->context->controller->addJQueryPlugin('jgrowl'); } public function hookProductFooter($params)