[-] FO : mobile theme : fix #PSCFV-4275 : delete calls to css and js not used
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@17498 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -648,6 +648,10 @@ class HomeSlider extends Module
|
||||
if(!$this->_prepareHook())
|
||||
return;
|
||||
|
||||
// Check if not a mobile theme
|
||||
if ($this->context->getMobileDevice() != false)
|
||||
return false;
|
||||
|
||||
$this->context->controller->addJS($this->_path.'js/jquery.bxSlider.min.js');
|
||||
$this->context->controller->addCSS($this->_path.'bx_styles.css');
|
||||
$this->context->controller->addJS($this->_path.'js/homeslider.js');
|
||||
|
||||
Reference in New Issue
Block a user