summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2013-03-30 16:22:08 -0400
committerDavid Rothstein <drothstein@gmail.com>2013-03-30 16:22:08 -0400
commit51755eb58c5caaa294a7617e55658aaa1473de07 (patch)
tree81246e672d6b741934e18e8a79fef285db2a3655 /themes
parent00ca279153118d02eeecbe5ffa521f143c6a03a5 (diff)
downloadbrdo-51755eb58c5caaa294a7617e55658aaa1473de07.tar.gz
brdo-51755eb58c5caaa294a7617e55658aaa1473de07.tar.bz2
Issue #1937860 by mikeytown2: Fixed seven_css_alter() does not set the type.
Diffstat (limited to 'themes')
-rw-r--r--themes/seven/template.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php
index 437e9a79f..5c086fa49 100644
--- a/themes/seven/template.php
+++ b/themes/seven/template.php
@@ -104,12 +104,15 @@ function seven_css_alter(&$css) {
// Use Seven's vertical tabs style instead of the default one.
if (isset($css['misc/vertical-tabs.css'])) {
$css['misc/vertical-tabs.css']['data'] = drupal_get_path('theme', 'seven') . '/vertical-tabs.css';
+ $css['misc/vertical-tabs.css']['type'] = 'file';
}
if (isset($css['misc/vertical-tabs-rtl.css'])) {
$css['misc/vertical-tabs-rtl.css']['data'] = drupal_get_path('theme', 'seven') . '/vertical-tabs-rtl.css';
+ $css['misc/vertical-tabs-rtl.css']['type'] = 'file';
}
// Use Seven's jQuery UI theme style instead of the default one.
if (isset($css['misc/ui/jquery.ui.theme.css'])) {
$css['misc/ui/jquery.ui.theme.css']['data'] = drupal_get_path('theme', 'seven') . '/jquery.ui.theme.css';
+ $css['misc/ui/jquery.ui.theme.css']['type'] = 'file';
}
}