Skip to content
Permalink
Browse files

Fix scrolling to active item in sidebar on load (#214) (#688)

  • Loading branch information...
jessetan authored and Blendify committed Dec 5, 2018
1 parent a42c4d7 commit 26d6108decf99a9c79adb08bc85ad610aad778b3
Showing with 3 additions and 0 deletions.
  1. +2 −0 docs/changelog.rst
  2. +1 −0 js/theme.js
@@ -11,9 +11,11 @@ master
New Features
-------------


Fixes
-----

* Fix scrolling to active item in sidebar on load (#214)
* Style caption link for code and literal blocks
* Fix inconsistent font size and line height for autodoc "raises" and "returns" (#267)

@@ -152,6 +152,7 @@ function ThemeNav () {
link.closest('li.toctree-l2').addClass('current');
link.closest('li.toctree-l3').addClass('current');
link.closest('li.toctree-l4').addClass('current');
link[0].scrollIntoView();
}
}
catch (err) {

0 comments on commit 26d6108

Please sign in to comment.
You can’t perform that action at this time.