Scroll hashlinks now use the correct navbar height.

This commit is contained in:
Lizbeth Rika committed 2014-12-08 19:50:59 +00:00
1 parent f488be6595
commit 7bd3287878
1 file changed
+1 -1
+1 -1
View File
@@ -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() {