aboutsummaryrefslogtreecommitdiff
path: root/views/default/js/initialise_elgg.php
diff options
context:
space:
mode:
authorpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-28 15:26:23 +0000
committerpete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-04-28 15:26:23 +0000
commitf3b0f6c073ae143c01983968ec1a549b60face80 (patch)
tree32c1fad153ec0fc2cc63c7479e4d1704c8f42ad9 /views/default/js/initialise_elgg.php
parentad896c53deac3f1fd405ba582d41c164470cbf4e (diff)
downloadelgg-f3b0f6c073ae143c01983968ec1a549b60face80.tar.gz
elgg-f3b0f6c073ae143c01983968ec1a549b60face80.tar.bz2
Updates to Profile edit, likes js, and tools css for IE7 rendering.
git-svn-id: http://code.elgg.org/elgg/trunk@5911 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default/js/initialise_elgg.php')
-rw-r--r--views/default/js/initialise_elgg.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/default/js/initialise_elgg.php b/views/default/js/initialise_elgg.php
index 056e22ee0..2e8d663f7 100644
--- a/views/default/js/initialise_elgg.php
+++ b/views/default/js/initialise_elgg.php
@@ -57,7 +57,9 @@ $(document).ready(function () {
$(".likes_list_button").click(function(event) {
if ($(this).next(".likes_list").css('display') == 'none') { // show list
var topPosition = - $(this).next(".likes_list").height();
- $('.likes_list').css('top',topPosition + 10);
+ topPosition10 = topPosition + 10 + "px";
+ topPosition = topPosition + "px";
+ $('.likes_list').css('top',topPosition10);
$('.likes_list').css('left', -$('.likes_list').width()+40);
$(this).next(".likes_list").animate({opacity: "toggle", top: topPosition}, 500);
} else { // hide list