@@ -329,3 +329,15 @@ if (document.readyState === "complete" ||
329 initHotKeys();
329 initHotKeys();
333+// Scroll to current document in nav list.
334+let docsNavScroll = function() {
335+ let docsNav = document.querySelectorAll("ul.content-nav__index a")
336+ for (let link in docsNav) {
337+ if (docsNav[link].href === window.location.href) {
338+ docsNav[link].focus()
343+if (window.location.href.includes("docs")) docsNavScroll();