From 605399032d02f47206e18a7dc1c743f612f2fc37 Mon Sep 17 00:00:00 2001
From: rabuzarus <>
Date: Sun, 12 Jun 2016 20:25:30 +0200
Subject: [PATCH] frio: bind short-info scrollspy on class fn (insteadof
 p-addr)

---
 view/theme/frio/js/theme.js | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/view/theme/frio/js/theme.js b/view/theme/frio/js/theme.js
index 45966e0117..04e611d953 100644
--- a/view/theme/frio/js/theme.js
+++ b/view/theme/frio/js/theme.js
@@ -156,9 +156,9 @@ $(document).ready(function(){
 
 	// append the vcard-short-info to the second nav after passing the element
 	// with .p-addr (vcard). Use scrollspy to get the scroll position.
-	if( $("aside .vcard .p-addr").length) {
-		$(".vcard .p-addr").scrollspy({
-			min: $(".vcard .p-addr").position().top - 50,
+	if( $("aside .vcard .fn").length) {
+		$(".vcard .fn").scrollspy({
+			min: $(".vcard .p-addr").position().top - 70,
 			onLeaveTop: function onLeave(element) {
 				$("#vcard-short-info").fadeOut(500, function () {
 					$("#vcard-short-info").appendTo("#vcard-short-info-wrapper");
-- 
2.39.5