DiscoTOC showing me TypeError

It’s showing me below error. hot to fix it?

btw, after I add TOC in a topic, I need to refresh the page, otherwise the TOC link is not working. is this a normal behavior?

1 Like