diff options
-rw-r--r-- | support/jsdoc/jsdoc-custom.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/support/jsdoc/jsdoc-custom.js b/support/jsdoc/jsdoc-custom.js index f00b6a7..0bce1fa 100644 --- a/support/jsdoc/jsdoc-custom.js +++ b/support/jsdoc/jsdoc-custom.js @@ -99,7 +99,7 @@ $(function initSearchBar() { location.href = host + 'docs.html#.' + suggestion; } else { var $el = document.getElementById('.' + suggestion); - $('#main').animate({ scrollTop: $el.offsetTop + -60 }, 500); + $('#main').animate({ scrollTop: $el.offsetTop - 60 }, 500); } }); }); |