refresh broken link fixed

This commit was merged in pull request #28.
This commit is contained in:
victorAnumudu
2023-04-08 00:54:39 +01:00
parent 5295ad32f2
commit a29fcffc2e
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -58,7 +58,7 @@
$target = jQuery(target);
$('html, body').stop().animate({
'scrollTop': $target.offset().top - 60 // - 200px (nav-height)
'scrollTop': $target.offset()?.top - 60 // - 200px (nav-height)
}, 'slow', 'easeInSine', function () {
window.location.hash = '1' + target;
});
+3
View File
@@ -1,3 +1,6 @@
html{
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',