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({
|
$(".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").appendTo("#vcard-short-info-wrapper");
|
$("#vcard-short-info").fadeOut(500, function () {
|
||||||
$("#vcard-short-info").fadeOut(500);
|
$("#vcard-short-info").appendTo("#vcard-short-info-wrapper");
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
},
|
},
|
||||||
onEnter: function(element) {
|
onEnter: function(element) {
|
||||||
|
|
Loading…
Reference in a new issue