diff options
Diffstat (limited to 'modules/toolbar')
-rw-r--r-- | modules/toolbar/toolbar.module | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/toolbar/toolbar.module b/modules/toolbar/toolbar.module index 8c8916bfe..a05bbe2f3 100644 --- a/modules/toolbar/toolbar.module +++ b/modules/toolbar/toolbar.module @@ -91,13 +91,12 @@ function toolbar_toggle_page() { function theme_toolbar_toggle($variables) { if ($variables['collapsed']) { $toggle_text = t('Show shortcuts'); - return '<a href="' . url('toolbar/toggle', array('query' => drupal_get_destination())) . '" title="' . $toggle_text . '"' . drupal_attributes($variables['attributes']) . '>' . $toggle_text . '</a>'; } else { $toggle_text = t('Hide shortcuts'); $variables['attributes']['class'][] = 'toggle-active'; - return '<a href="' . url('toolbar/toggle', array('query' => drupal_get_destination())) . '" title="' . $toggle_text . '"' . drupal_attributes($variables['attributes']) . '>' . $toggle_text . '</a>'; } + return '<a href="' . url('toolbar/toggle', array('query' => drupal_get_destination())) . '" title="' . $toggle_text . '"' . drupal_attributes($variables['attributes']) . '>' . $toggle_text . '</a>'; } /** |