Skip to content
Snippets Groups Projects
Commit 614af39e authored by alexisben's avatar alexisben
Browse files

cleanup js

parent 2b5084d0
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment