Closed alebarbaja closed 3 years ago
Hi, I see that on the .js file of this component, there is a typo:
this.content = document.getElementsByClassName('js-toc-conten')[0];
The word correct is js-toc-content. But besides that, this class doesn't seem being used on the script. Is that correct?
Hi Alejandro, yes that object property was actually unused. We have updated the component and removed it: https://codyhouse.co/ds/components/app/table-of-contents
Cheers!
Hi, I see that on the .js file of this component, there is a typo:
this.content = document.getElementsByClassName('js-toc-conten')[0];
The word correct is js-toc-content. But besides that, this class doesn't seem being used on the script. Is that correct?