diff --git a/assets/js/theme/design-system/toc.js b/assets/js/theme/design-system/toc.js index 233156befef836edd550df532dd67abf4e655780..a2b7cc814b6a73ea002bd17dfdb372d18ad15c27 100644 --- a/assets/js/theme/design-system/toc.js +++ b/assets/js/theme/design-system/toc.js @@ -105,7 +105,7 @@ class TableOfContents { } activateLink(id) { const currentLink = this.element.querySelector(`[href*=${ id }]`); - // console.log(currentLink.hash) + this.links.forEach((link, index) => { if (link == currentLink) { link.classList.add(CLASSES.linkActive);