aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/default/object/widget.php2
-rw-r--r--views/default/object/widget/elements/controls.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/views/default/object/widget.php b/views/default/object/widget.php
index ce2dc33da..f84c44e1c 100644
--- a/views/default/object/widget.php
+++ b/views/default/object/widget.php
@@ -61,7 +61,7 @@ HEADER;
$widget_body = <<<BODY
$edit_area
- <div class="elgg-widget-content">
+ <div class="elgg-widget-content" id="elgg-widget-content-$widget->guid">
$content
</div>
BODY;
diff --git a/views/default/object/widget/elements/controls.php b/views/default/object/widget/elements/controls.php
index ba30d2d4d..5b794c1f7 100644
--- a/views/default/object/widget/elements/controls.php
+++ b/views/default/object/widget/elements/controls.php
@@ -11,8 +11,8 @@ $show_edit = elgg_extract('show_edit', $vars, true);
$params = array(
'text' => ' ',
- 'href' => "#",
- 'class' => 'elgg-widget-collapse-button',
+ 'href' => "#elgg-widget-content-$widget->guid",
+ 'class' => 'elgg-widget-collapse-button elgg-toggler',
);
$collapse_link = elgg_view('output/url', $params);