frio: a short contact informations - better fadeOut handling
This commit is contained in:
parent
3c49a410e5
commit
70f97a3536
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue