diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-10-05 19:59:10 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-10-05 19:59:10 +0000 |
commit | facc581013f781bd7737d02700a5ffe2a253e5f3 (patch) | |
tree | a65b1bc47b368e420bb3238e75196acd5b471f88 /themes/seven | |
parent | 0614a78538bcc91f620abb38a0366d6ecee9eb06 (diff) | |
download | brdo-facc581013f781bd7737d02700a5ffe2a253e5f3.tar.gz brdo-facc581013f781bd7737d02700a5ffe2a253e5f3.tar.bz2 |
- Patch #769226 by Owen Barton, sun, effulgentsia, alanburke, bleen18, mfer: optimize JS/CSS aggregation for front-end performance and DX.
Diffstat (limited to 'themes/seven')
-rw-r--r-- | themes/seven/template.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php index e87868c72..78d41f168 100644 --- a/themes/seven/template.php +++ b/themes/seven/template.php @@ -18,9 +18,9 @@ function seven_preprocess_maintenance_page(&$vars) { */ function seven_preprocess_html(&$vars) { // Add conditional CSS for IE8 and below. - drupal_add_css(path_to_theme() . '/ie.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE))); + drupal_add_css(path_to_theme() . '/ie.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lte IE 8', '!IE' => FALSE), 'preprocess' => FALSE)); // Add conditional CSS for IE6. - drupal_add_css(path_to_theme() . '/ie6.css', array('weight' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE))); + drupal_add_css(path_to_theme() . '/ie6.css', array('group' => CSS_THEME, 'browsers' => array('IE' => 'lt IE 7', '!IE' => FALSE), 'preprocess' => FALSE)); } /** |