mirror of
https://github.com/codex-team/codex.docs.git
synced 2025-08-06 14:05:22 +02:00
Update table-of-content.js
This commit is contained in:
parent
e1d80fa511
commit
67634a3ecf
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ export default class TableOfContent {
|
|||
/**
|
||||
* Clear all links
|
||||
*/
|
||||
this.tocElement.querySelectorAll(this.CSS.tocElementItem).forEach((link) => {
|
||||
this.tocElement.querySelectorAll(`.${this.CSS.tocElementItem}`).forEach((link) => {
|
||||
link.classList.remove(this.CSS.tocElementItemActive);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue