From: rabuzarus <> Date: Fri, 10 Jun 2016 23:40:28 +0000 (+0200) Subject: frio: a short contact informations - better fadeOut handling X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=70f97a3536d1b0d1183627d51d097c3dacffe775;p=friendica.git frio: a short contact informations - better fadeOut handling --- diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 23c1f096e3..418c233e72 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -126,8 +126,10 @@ $(document).ready(function(){ $(".vcard .p-addr").scrollspy({ min: $(".vcard .p-addr").position().top - 50, onLeaveTop: function onLeave(element) { - $("#vcard-short-info").appendTo("#vcard-short-info-wrapper"); - $("#vcard-short-info").fadeOut(500); + $("#vcard-short-info").fadeOut(500, function () { + $("#vcard-short-info").appendTo("#vcard-short-info-wrapper"); + }); + }, onEnter: function(element) {