diff options
author | Cash Costello <cash.costello@gmail.com> | 2011-06-26 08:16:19 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2011-06-26 08:16:19 -0400 |
commit | 32387e6db0c56935e93314217b52eab4d9dca016 (patch) | |
tree | cc468b538fe31a26b08516755a651e860800aef9 /views/default/object/widget/elements | |
parent | 2f3b6a8aebc55009f066a49b2d9aaa12dc5be008 (diff) | |
download | elgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.gz elgg-32387e6db0c56935e93314217b52eab4d9dca016.tar.bz2 |
Fixes #3470 using rel=toggle now
Diffstat (limited to 'views/default/object/widget/elements')
-rw-r--r-- | views/default/object/widget/elements/controls.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/object/widget/elements/controls.php b/views/default/object/widget/elements/controls.php index 83a2f5767..abf2154fc 100644 --- a/views/default/object/widget/elements/controls.php +++ b/views/default/object/widget/elements/controls.php @@ -12,7 +12,8 @@ $show_edit = elgg_extract('show_edit', $vars, true); $params = array( 'text' => ' ', 'href' => "#elgg-widget-content-$widget->guid", - 'class' => 'elgg-widget-collapse-button elgg-toggler', + 'class' => 'elgg-widget-collapse-button', + 'rel' => 'toggle', ); $collapse_link = elgg_view('output/url', $params); @@ -33,7 +34,8 @@ if ($widget->canEdit()) { 'text' => elgg_view_icon('settings-alt'), 'title' => elgg_echo('widget:edit'), 'href' => "#widget-edit-$widget->guid", - 'class' => "elgg-toggler elgg-widget-edit-button", + 'class' => "elgg-widget-edit-button", + 'rel' => 'toggle', ); $edit_link = elgg_view('output/url', $params); } |