From 325203e1caeb1bc1e957c4d50be76baaed6ba10c Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 29 Jun 2009 18:27:29 -0700 Subject: 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. --- modules/gallery/libraries/Gallery_View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') 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); -- cgit v1.2.3