If not meant to serveMobile, show the default styles
This commit is contained in:
parent
62400b8c89
commit
ef7e4cb72d
|
@ -173,6 +173,10 @@ class MobileProfilePlugin extends WAP20Plugin
|
|||
|
||||
|
||||
function onStartShowStatusNetStyles($action) {
|
||||
if (!$action->serveMobile) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (file_exists(theme_file('css/mp-screen.css'))) {
|
||||
$action->cssLink('css/mp-screen.css', null, 'screen');
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user