We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba4a370 commit edce06aCopy full SHA for edce06a
webpack/js/main.js
@@ -32,6 +32,18 @@ $(document).ready(function () {
32
$(".navbar-item.has-dropdown.is-active").removeClass('is-active');
33
}
34
});
35
+
36
+ // Internal Navigation for table of contents component
37
+ let hash = window.location.hash;
38
+ if (hash.length > 0) {
39
+ $('.menu-list').find('a[href=\"' + hash + '\"]').addClass('is-active');
40
+ }
41
42
+ $(window).on('hashchange', function() {
43
44
+ $('.menu-list a[href*="#"]').closest('a').removeClass('is-active');
45
46
+ });
47
48
49
const getFullyQualifiedUrl = (path, version) => {
0 commit comments