From 7bd3287878ce7c095338911ecc4cb513dcd87f91 Mon Sep 17 00:00:00 2001 From: Lizbeth Rika Date: Mon, 8 Dec 2014 19:50:59 +0000 Subject: [PATCH] Scroll hashlinks now use the correct navbar height. --- web/js/botania.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/botania.js b/web/js/botania.js index 1f84a7abf..9c299f4bd 100644 --- a/web/js/botania.js +++ b/web/js/botania.js @@ -11,7 +11,7 @@ $(function() { var hash = document.location.hash.substring(1); var offset = $("#" + hash + "-fake").offset(); if(offset != undefined) - $('html, body').animate({ scrollTop: offset.top - 100 }, 1000); + $('html, body').animate({ scrollTop: offset.top - 72 }, 1000); }); $('.hide-div').click(function() {