We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4169cb commit a257f95Copy full SHA for a257f95
1 file changed
doc/template.html
@@ -64,7 +64,7 @@ <h1>Node.js __VERSION__ documentation</h1>
64
<span class="picker-arrow"></span>
65
Options
66
</a>
67
-
+
68
<div class="picker" tabindex="-1">
69
<ul id="options-picker">
70
<li>
@@ -73,7 +73,7 @@ <h1>Node.js __VERSION__ documentation</h1>
73
74
<a href="__FILENAME__.json">View as JSON</a>
75
</li>
76
- __EDIT_ON_GITHUB__
+ __EDIT_ON_GITHUB__
77
</ul>
78
</div>
79
@@ -90,5 +90,14 @@ <h1>Node.js __VERSION__ documentation</h1>
90
91
92
93
+ <script>
94
+ const activeLInk = document.querySelector('.interior ul .active');
95
+ if (activeLInk) {
96
+ activeLInk.scrollIntoView({
97
+ behavior: 'smooth',
98
+ block: 'center'
99
+ });
100
+ }
101
+ </script>
102
</body>
103
</html>
0 commit comments