From 3047ed8ce34ca234f6a13f6bacb49c3a66c63cff Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Wed, 15 Mar 2023 16:41:38 -0300 Subject: [PATCH] CSS fix --- css/main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/css/main.js b/css/main.js index d96c8cd8..9db3fe8b 100644 --- a/css/main.js +++ b/css/main.js @@ -11,8 +11,8 @@ let extensions = document.getElementById('extensions'); main_parent.addEventListener('click', function(e) { // Check if the main element is visible if (main.offsetHeight > 0 && main.offsetWidth > 0) { - extensions.style.visibility = 'visible'; + extensions.style.display = 'block'; } else { - extensions.style.visibility = 'hidden'; + extensions.style.display = 'none'; } });