summaryrefslogtreecommitdiff
path: root/themes/seven
diff options
context:
space:
mode:
authorwebchick <webchick@24967.no-reply.drupal.org>2011-04-24 01:38:16 -0700
committerwebchick <webchick@24967.no-reply.drupal.org>2011-04-24 01:38:16 -0700
commitef5ef9efc7a519f74f6bbdf8c87ba9bc16be5651 (patch)
tree4ad329820c488264a036b945ed6a81de46445469 /themes/seven
parent4d3217b4db094d4808fe8b0c3caea6e3b10dd575 (diff)
downloadbrdo-ef5ef9efc7a519f74f6bbdf8c87ba9bc16be5651.tar.gz
brdo-ef5ef9efc7a519f74f6bbdf8c87ba9bc16be5651.tar.bz2
Issue #908282 by jbrown, pillarsdotnet: add width and height attributes to increase front-end performance.
Diffstat (limited to 'themes/seven')
-rw-r--r--themes/seven/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/seven/template.php b/themes/seven/template.php
index 5be459bea..4582749b1 100644
--- a/themes/seven/template.php
+++ b/themes/seven/template.php
@@ -88,10 +88,10 @@ function seven_tablesort_indicator($variables) {
$style = $variables['style'];
$theme_path = drupal_get_path('theme', 'seven');
if ($style == 'asc') {
- return theme('image', array('path' => $theme_path . '/images/arrow-asc.png', 'alt' => t('sort ascending'), 'title' => t('sort ascending')));
+ return theme('image', array('path' => $theme_path . '/images/arrow-asc.png', 'alt' => t('sort ascending'), 'width' => 13, 'height' => 13, 'title' => t('sort ascending')));
}
else {
- return theme('image', array('path' => $theme_path . '/images/arrow-desc.png', 'alt' => t('sort descending'), 'title' => t('sort descending')));
+ return theme('image', array('path' => $theme_path . '/images/arrow-desc.png', 'alt' => t('sort descending'), 'width' => 13, 'height' => 13, 'title' => t('sort descending')));
}
}