aboutsummaryrefslogtreecommitdiff
path: root/mod/likes
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 18:52:16 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 18:52:16 +0000
commit271da07e018c1f8a6f315df90e0fe0d048de24a5 (patch)
tree4995c22e0f58c4699c38b304723430330f9576ae /mod/likes
parent1b650fa7f56733651bc155fd6eff44f0d3f8b748 (diff)
downloadelgg-271da07e018c1f8a6f315df90e0fe0d048de24a5.tar.gz
elgg-271da07e018c1f8a6f315df90e0fe0d048de24a5.tar.bz2
tweaked an id so that the likes html would be valid
git-svn-id: http://code.elgg.org/elgg/trunk@8690 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/likes')
-rw-r--r--mod/likes/views/default/likes/display.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/likes/views/default/likes/display.php b/mod/likes/views/default/likes/display.php
index 6a37ec8b7..97a0f89d7 100644
--- a/mod/likes/views/default/likes/display.php
+++ b/mod/likes/views/default/likes/display.php
@@ -55,10 +55,10 @@ if ($num_of_likes) {
'text' => "$num_of_likes $likes_string",
'title' => elgg_echo('likes:see'),
'rel' => 'popup',
- 'href' => "#$guid-likes"
+ 'href' => "#likes-$guid"
);
$list = elgg_view('output/url', $params);
- $list .= "<div class='elgg-module elgg-module-popup elgg-likes-list hidden clearfix' id='$guid-likes'>";
+ $list .= "<div class='elgg-module elgg-module-popup elgg-likes-list hidden clearfix' id='likes-$guid'>";
$list .= elgg_list_annotations(array('guid' => $guid, 'annotation_name' => 'likes', 'limit' => 99));
$list .= "</div>";
}