refresh broken link fixed
This commit was merged in pull request #28.
This commit is contained in:
@@ -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;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user