Thanks for this nice and simple module.
For anonymous user module through a JS error and TOC list does not appear for visitors .
console message " Uncaught ReferenceError: Drupal is not defined "
RON
Thanks for this nice and simple module.
For anonymous user module through a JS error and TOC list does not appear for visitors .
console message " Uncaught ReferenceError: Drupal is not defined "
RON
Comments
Comment #2
flocondetoileHi,
I can not reproduce this error.
Are you sure that Toc.js jquery plugin is well installed ? Have you check your status report ?
If yes, then what is the exactly and complete error message ?
Comment #3
flocondetoileComment #4
ron.du commentedSorry for being delay . Meantime i see updated version has been released and libraries.yml file also been updated which eventually fixed the issue .
Thanks again for this nifty module
RON
Comment #5
flocondetoileThanks for your feedback.
I succeed to reproduce the issue.
Effectively, there is a missing dependency on the librairies, for anonymous
Comment #7
flocondetoileThis should fix this issue. I've forgotten to set core/drupal as a dependency of the library.