[*] FO : Add mobile detection and mobile theme dispatcher
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@13866 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -194,7 +194,9 @@ class ContactControllerCore extends FrontController
|
||||
public function setMedia()
|
||||
{
|
||||
parent::setMedia();
|
||||
$this->addCSS(_THEME_CSS_DIR_.'contact-form.css');
|
||||
// These CSS isn't used for the mobile theme.
|
||||
if ($this->context->getMobileDevice() == false)
|
||||
$this->addCSS(_THEME_CSS_DIR_.'contact-form.css');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user