Steps to replicate the issue (include links if applicable):
- Open a page on the English Wikipedia without an account. I noticed that the issue usually occurs on specific pages such as https://en.wikipedia.org/wiki/Infinity
What happens?:
- When this bug occurs, there is an table of contents icon present to the left of the page's title. If the contents are hidden, there are two table of content icons, one is functional when clicked and the other is not.
What should have happened instead?:
- If the contents are listed on the left, there should not be a table of contents icon to the left of the title. When the table of contents is hidden, there should be one table of contents icon to the left of the title that can be clicked on to display the table of contents.

