Sometimes, we incorrectly try to add a class that begins with a dot, but linters and indeed browsers do not indicate that this is an error.
The error occurs because we use a dot in selectors for classname, but the dot is not part of the actual class name.
node.classList.add('.table-of-contents');
node.classList.add('table-of-contents')
No response
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too