From: Florian Zeitz Date: Thu, 20 Aug 2009 18:20:44 +0000 (+0200) Subject: Fix effects X-Git-Url: https://cgit.babelmonkeys.de/?a=commitdiff_plain;h=13b28a1b50a2a84366f5781e9434d7f46c0ceed1;p=socialXMPP.git Fix effects * Hide the overlay after the vCard has been hidden --- 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; });