Skip to content
Snippets Groups Projects
Commit d7bc8cbd authored by Sean Madsen's avatar Sean Madsen
Browse files

Basic fix for "Scroll to navigation position after page re-load #21"

parent 3b26db1a
No related branches found
No related tags found
No related merge requests found
// Automatically scroll the navigation menu to the active element
// https://github.com/civicrm/civicrm-dev-docs/issues/21
$('.wy-nav-side')
.scrollTop(
$('li.toctree-l1.current').offset().top -
$('.wy-nav-side').offset().top -
80
);
......@@ -3,6 +3,8 @@ repo_url: https://github.com/civicrm/civicrm-dev-docs
site_description: A guide for CiviCRM developers.
site_author: The CiviCRM community
theme: readthedocs
extra_javascript:
- js/custom.js
pages:
- Home: index.md
- Basics:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment