From f3b0f6c073ae143c01983968ec1a549b60face80 Mon Sep 17 00:00:00 2001 From: pete Date: Wed, 28 Apr 2010 15:26:23 +0000 Subject: 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 --- views/default/js/initialise_elgg.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'views/default/js/initialise_elgg.php') 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 -- cgit v1.2.3