diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 18:27:29 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-06-29 18:27:29 -0700 |
commit | 325203e1caeb1bc1e957c4d50be76baaed6ba10c (patch) | |
tree | fd5c90070cac658d4f7c6bd0515b41ab4647af5f /modules/gallery/libraries/Gallery_View.php | |
parent | fa8ca2f7ad21980f0b45e7acc67be4be296f9f87 (diff) |
Add a media type using the most common media type from our CSS. This
doesn't fix the problem that we need to support multiple media types
(the original code had superfish using just "screen", and some other
deviations).
There's no code yet to support multiple media types, but it would not
be too difficult to create buckets based on media.
Diffstat (limited to 'modules/gallery/libraries/Gallery_View.php')
-rw-r--r-- | modules/gallery/libraries/Gallery_View.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/libraries/Gallery_View.php b/modules/gallery/libraries/Gallery_View.php index 48cf8089..490fb574 100644 --- a/modules/gallery/libraries/Gallery_View.php +++ b/modules/gallery/libraries/Gallery_View.php @@ -109,7 +109,7 @@ class Gallery_View_Core extends View { } if ($type == "css") { - return html::stylesheet("combined/css/$key", false, true); + return html::stylesheet("combined/css/$key", "screen,print,projection", true); } else { // Handcraft the script link because html::script will add a .js extenstion return html::script("combined/javascript/$key", true); |