Trigger only on handheld device screens, not on browser screens, d'oh!

This commit is contained in:
Meitar Moscovitz 2009-02-11 03:12:14 +11:00
parent c9e8b1e5c3
commit beddf90663

View File

@ -175,7 +175,7 @@ class Action extends HTMLOutputter // lawsuit
'type' => 'text/css',
'href' => theme_path('css/mobile.css', 'base') . '?version=' . LACONICA_VERSION,
// TODO: "handheld" CSS for other mobile devices
'media' => 'screen and (max-device-width: 480px)')); // Mobile WebKit
'media' => 'only screen and (max-device-width: 480px)')); // Mobile WebKit
}
}