From 468f2d001ecc2c80f8e7ad5ff7dc1525e6957dcd Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Sun, 12 Jun 2016 20:34:41 +0200 Subject: [PATCH] frio: scrollspy info - forgot to change all classes --- view/theme/frio/js/theme.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js index 04e611d95..8babb0805 100644 --- a/view/theme/frio/js/theme.js +++ b/view/theme/frio/js/theme.js @@ -155,10 +155,10 @@ $(document).ready(function(){ $(".search-content-wrapper #search-save-form ").appendTo("#topbar-second > .container > #navbar-button"); // append the vcard-short-info to the second nav after passing the element - // with .p-addr (vcard). Use scrollspy to get the scroll position. + // with .fn (vcard username). Use scrollspy to get the scroll position. if( $("aside .vcard .fn").length) { $(".vcard .fn").scrollspy({ - min: $(".vcard .p-addr").position().top - 70, + min: $(".vcard .fn").position().top - 50, onLeaveTop: function onLeave(element) { $("#vcard-short-info").fadeOut(500, function () { $("#vcard-short-info").appendTo("#vcard-short-info-wrapper");