From 6416bbf2fb691c958326b8fad9f2cc2c104a2465 Mon Sep 17 00:00:00 2001 From: RezenkovD Date: Thu, 17 Aug 2023 14:53:22 +0300 Subject: [PATCH] fix: change hidden elements --- vr_club_site/templates/site/devices.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/vr_club_site/templates/site/devices.html b/vr_club_site/templates/site/devices.html index f7b0e70..8a1f731 100644 --- a/vr_club_site/templates/site/devices.html +++ b/vr_club_site/templates/site/devices.html @@ -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; } }