• I’m doing a single-post ajax load with the add on and using a repeater template, generally working fine.

    However the table of contents doesn’t generate, and produces this error:

    Uncaught DOMException: Failed to execute ‘querySelector’ on ‘Document’: ‘.alm-reveal.alm-single-post[data-page=0]’ is not a valid selector.

    I noticed that one of your examples fails in the same way: https://connekthq.com/ajax-load-more-posts/alm-post-example/?table-of-contents=true

    (The other example, which loads thumbs in a container with a load more button, works fine for me).

    Would be great to get this working, any idea what to try?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘TOC failing with error message on my site and your example’ is closed to new replies.