A spoiler tag?

Have any suggestions for new boards or forum improvements?
User avatar
pom
administrator
Posts: 76
Joined: Tue Sep 19, 2023 12:14 am
Location: a cloud
Contact:

Re: A spoiler tag?

Post by pom »

clayton wrote: Mon Oct 21, 2024 1:17 am hi, sorry if this is wrong place to post, I noticed there's a problem with spoiler tags when more than one of them are next to each other. every "show"/"hide" button acts on the same spoiler content, for example in this post I'm not able to open the second box

the part of the onclick code that selects the spoiler box could be changed to

Code: Select all

this.parentNode.nextElementSibling.firstElementChild
to fix this. or refer to the spoiler box with a unique ID instead

cool feature though and cute style :D
Thank you for bringing this to our attention and the suggestion. it should be fixed now!
spoiler!
:D
spoiler!
:)
Image Image Image
clayton
Posts: 8
Joined: Mon Oct 14, 2024 7:49 pm
Location: Los Angeles
Contact:

Re: A spoiler tag?

Post by clayton »

works great thank you :D
:)
Post Reply