• The JS in LuckyTOC has changed and now has an error if lwptoc_toggle_label is missing from the page. This class is on the TOC show/hide label – there is an option to disable it in the LuckyTOC settings so it can’t be relied upon existing in the page.

    The JS error stops the scroll offset from working properly. Maybe more besides that!

    This bug was introduced in version 2.0. Version 1.9.11 is OK.

    This is in /wp-content/plugins/luckywp-table-of-contents/front/assets/main.min.js?ver=2.0 . Should be line 107 if you pretty print the JS in browser dev tools.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author LuckyWP

    (@theluckywp)

    Thank you for bug report!

    We find and fixed this problem.
    The fix will be included in the next version of plugin.

Viewing 1 replies (of 1 total)
  • The topic ‘JS error and scroll offset not working’ is closed to new replies.