From b134971a7b2dc7b4cf77057a4b39285dbb6edda7 Mon Sep 17 00:00:00 2001 From: brettp Date: Tue, 8 Mar 2011 05:33:50 +0000 Subject: Fixes #3027. Likes popup uses rel='popup' and elgg.ui.popsUp() to position absolute. git-svn-id: http://code.elgg.org/elgg/trunk@8630 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/core/likes/display.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'views/default') 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 .= "