Support Forum

Spoiler reveal/hide text not changing

PM Patrick Moering
Patrick Moering
Member

When I click on a spoiler the text does not change to “hide spoiler”.

This seems to be a bug in the sp-forum.js (line 347: cur === 0).

3 Answers

New Answer

IK Ike
Ike
Member

I am getting the same locally, so we will have to look in to that one, thanks for the info.

But I’m not getting any js errors on the page either. Is it possible you have another conflict? For example do you get that on a page without a spoiler?

PM Patrick Moering
Patrick Moering
Member

I’m not getting any js errors, the line I posted is just a hint. The “===” operator never matches, because the cur variable is not an integer, changing it to “==” will fix the problem.

MP Mr Papa
Mr Papa
Member

we have opened a ticket to look into further and make any changes needed… thanks for the heads up…