frio: a short contact informations - better fadeOut handling

This commit is contained in:
rabuzarus 2016-06-11 01:40:28 +02:00
parent 3c49a410e5
commit 70f97a3536

View file

@ -126,8 +126,10 @@ $(document).ready(function(){
$(".vcard .p-addr").scrollspy({ $(".vcard .p-addr").scrollspy({
min: $(".vcard .p-addr").position().top - 50, min: $(".vcard .p-addr").position().top - 50,
onLeaveTop: function onLeave(element) { onLeaveTop: function onLeave(element) {
$("#vcard-short-info").fadeOut(500, function () {
$("#vcard-short-info").appendTo("#vcard-short-info-wrapper"); $("#vcard-short-info").appendTo("#vcard-short-info-wrapper");
$("#vcard-short-info").fadeOut(500); });
}, },
onEnter: function(element) { onEnter: function(element) {