Cookie hideTOC deleted on second page load
-
Hello,
I have a question about cookies.
On our page, the table of contents is displayed expanded when you visit the page for the first time.
The aim should be that the table of contents is also displayed collapsed on other pages after it has been collapsed by user.
I have seen that the cookie ezTOC-hidetoc-X is set to 1 when the button for collapsing is clicked.
If I now open another page (via the navigation), the cookie ensures that the table of contents is displayed collapsed.
Up to this point everything is correct.However, when I check the cookies, I find that the cookie ezTOC-hidetoc-X has been deleted.
This happens via the wp-content/easy-table-of-contents/assets/js/front.js (line 69 or 74 – plugin version 2.0.45) – I have checked this.Since the cookie is now deleted, the table of contents is displayed expanded again when the next (third) page is called up.
Why is that?
Is there a setting that prevents this?Thanks a lot !
- The topic ‘Cookie hideTOC deleted on second page load’ is closed to new replies.