mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 16:54:06 +00:00
Scroll hashlinks now use the correct navbar height.
This commit is contained in:
1 parent
f488be6595
commit
7bd3287878
1 file changed
+1
-1
+1
-1
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user