aboutsummaryrefslogtreecommitdiff
path: root/views/default
diff options
context:
space:
mode:
Diffstat (limited to 'views/default')
-rw-r--r--views/default/core/likes/display.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/views/default/core/likes/display.php b/views/default/core/likes/display.php
index 014796928..b04630e95 100644
--- a/views/default/core/likes/display.php
+++ b/views/default/core/likes/display.php
@@ -54,10 +54,12 @@ if ($num_of_likes) {
$params = array(
'text' => "$num_of_likes $likes_string",
'title' => elgg_echo('likes:see'),
- 'class' => 'elgg-like-toggle',
+ 'class' => 'elgg-popup-rb-at-lt',
+ 'rel' => 'popup',
+ 'href' => "#$guid-likes"
);
$list = elgg_view('output/url', $params);
- $list .= "<div class='elgg-module elgg-module-popup elgg-likes-list hidden clearfix'>";
+ $list .= "<div class='elgg-module elgg-module-popup elgg-likes-list hidden clearfix' id='$guid-likes'>";
$list .= elgg_list_annotations(array('guid' => $guid, 'annotation_name' => 'likes', 'limit' => 99));
$list .= "</div>";
}