]> git.mxchange.org Git - friendica.git/commitdiff
frio: a short contact informations - better fadeOut handling
authorrabuzarus <>
Fri, 10 Jun 2016 23:40:28 +0000 (01:40 +0200)
committerrabuzarus <>
Fri, 10 Jun 2016 23:40:28 +0000 (01:40 +0200)
view/theme/frio/js/theme.js

index 23c1f096e3f7367bd5b439127a25593cebc51642..418c233e72c46916fd4231a350ecd5baf64833f1 100644 (file)
@@ -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) {