From 13b28a1b50a2a84366f5781e9434d7f46c0ceed1 Mon Sep 17 00:00:00 2001 From: Florian Zeitz Date: Thu, 20 Aug 2009 20:20:44 +0200 Subject: [PATCH] Fix effects * Hide the overlay after the vCard has been hidden --- scripts/basic.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/basic.js b/scripts/basic.js index 8c7b5e6..4b30695 100644 --- a/scripts/basic.js +++ b/scripts/basic.js @@ -68,8 +68,9 @@ function populateVCard(e, jid) { } $('#vCard').click(function () { - $('#box-overlay').hide(); - $('#vCard_container').slideUp("normal"); + $('#vCard_container').slideUp("normal", function() { + $('#box-overlay').hide(); + }); roster[jid2id(jid)].visible = false; }); -- 2.39.5