This commit is contained in:
oobabooga 2023-03-15 16:41:38 -03:00
parent 87b84d2275
commit 3047ed8ce3

View File

@ -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';
}
});