All show/hide buttons only work for the first hide field

If you have a technical problem or a question about the site, ask here. The admin team will also post announcements here - so check in occasionally!
Post Reply
User avatar
DropTable~DropsMic
Posts: 4830
Joined: Thu Nov 27, 2014 12:27 am
Pronouns: She or They
Gender: meh

All show/hide buttons only work for the first hide field

Post by DropTable~DropsMic »

I am having this problem when I want to hide multiple sections of text in a post. For example:
There is hidden text below. Click Show to see it.
Here is some hidden text
and then:
There is hidden text below. Click Show to see it.
yet more hidden text
At least in the post I was writing (was a comment in the ballad section), both show/hide buttons only affected the top hidden section ("Here is some hidden text"). So I would click the second button and it would show/hide the first section.

I ended up using a TW tag for the second section to work around this, but I would hope it could be fixed somehow.

This problem occurred on the desktop site, using Firefox on Windows 10.

Edited to clarify the problem.

User avatar
DropTable~DropsMic
Posts: 4830
Joined: Thu Nov 27, 2014 12:27 am
Pronouns: She or They
Gender: meh

Re: All show/hide buttons only work for the first hide field

Post by DropTable~DropsMic »

Also--I don't know if the show/hide functions are something where site admins can go in and change the JavaScript--if they are I'd be happy to take a shot at fixing the problem.

User avatar
siranoyd
Posts: 4365
Joined: Wed Nov 25, 2015 9:26 am
Pronouns: they/them
Gender: plural
Location: GMT+1

Re: All show/hide buttons only work for the first hide field

Post by siranoyd »

I tested this on my phone right now (Ghostery Browser) and it's also not working for me.

Post Reply