Skip to content

Commit

Permalink
fix: change hidden elements
Browse files Browse the repository at this point in the history
  • Loading branch information
RezenkovD committed Aug 17, 2023
1 parent 8370c99 commit 6416bbf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions vr_club_site/templates/site/devices.html
Original file line number Diff line number Diff line change
Expand Up @@ -195,14 +195,12 @@
if (open == true) { //If you click the question while the answer is visible it will stop being visible and open will change it's value to false
add.style.display = "block";
remove.style.display = "none";
answer.style.overflow = "hidden";
answer.style.maxHeight = '0';
open = false;
} else { //If you click the question while the answer is not visible it will start being visible and open will change it's value to true
add.style.display = "none";
remove.style.display = "block";
answer.style.maxHeight = "300px";
answer.style.overflow = "visible";
open = true;
}
}
Expand Down

0 comments on commit 6416bbf

Please sign in to comment.