See more doesn't toggle right box

SurveyBuilder-Admin
See more doesn't toggle right box
SurveyBuilder-Admin Thursday 7th April 2022, 15:14:03

I found out on your site, maybe others if they use this software, but the 'show more' spoiler box toggles the last hidden message and not the current on the reply/topic.

example:



Your JS code:
<script>function toggle(e){var t=document.getElementById("{block_id}");"block"==t.style.display?(t.style.display="none")} t.style.display="block")}</script>


try:
<script>function toggle_id(e){var t=document.getElementById("{block_id}");"block"==t.style.display?(t.style.display="none")} t.style.display="block")}</script>


this just seems to override other script codes.

Last modified by SurveyBuilder-Admin on Thursday 7th April 2022, 18:31:00
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well