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;
});