diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 23:18:20 +0200 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2016-10-26 23:18:20 +0200 |
commit | 8f38147e145c66ebd27f5d9fcc6f00172c25872f (patch) | |
tree | 35123308ef781f6ad4b83b6d421d5e0e35d2e574 /docs/pkgdown.js | |
parent | d106bebafe070cb803dd7205b1581b20eaf61cb5 (diff) |
Static documentation rebuilt by pkgdown::build_site()
Diffstat (limited to 'docs/pkgdown.js')
-rw-r--r-- | docs/pkgdown.js | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/docs/pkgdown.js b/docs/pkgdown.js index ded9e7df..c8b38c49 100644 --- a/docs/pkgdown.js +++ b/docs/pkgdown.js @@ -1,13 +1,8 @@ $(function() { - - $('#tocnav').affix({ - offset: { - top: $('#tocnav').offset().top - 80 - } - }); + $("#sidebar").stick_in_parent({offset_top: 40}); $('body').scrollspy({ - target: '#tocnav', - offset: 80 + target: '#sidebar', + offset: 60 }); }); |