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

ron.du created an issue. See original summary.

flocondetoile’s picture

Hi,

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 ?

flocondetoile’s picture

Status: Active » Postponed (maintainer needs more info)
ron.du’s picture

Status: Postponed (maintainer needs more info) » Fixed

Sorry 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

flocondetoile’s picture

Status: Fixed » Active

Thanks for your feedback.
I succeed to reproduce the issue.
Effectively, there is a missing dependency on the librairies, for anonymous

  • flocondetoile committed fccecb4 on 8.x-1.x
    Issue #2893223 by ron.du, flocondetoile: Uncaught ReferenceError: Drupal...
flocondetoile’s picture

Status: Active » Fixed

This should fix this issue. I've forgotten to set core/drupal as a dependency of the library.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.