“Active” class not consistently being added to LI
-
I have separated a page into six pages (using the “nextpage” tag), and I’m using the Table of Contents widget for that page (in left sidebar).
The table of contents is being generated correctly. However, the TOC link for the “current/active” page is not consistently displaying as “active” (bold). When I view source, the “active” class has not been added to the LI tag.
This is an intermittent problem. Sometimes, if I refresh my browser, the list item DOES display as active. Also, sometimes the list item for a specific page will display as active, while it does NOT at other times.
Thoughts?
- The topic ‘“Active” class not consistently being added to LI’ is closed to new replies.