CSS fix
This commit is contained in:
parent
87b84d2275
commit
3047ed8ce3
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ let extensions = document.getElementById('extensions');
|
||||||
main_parent.addEventListener('click', function(e) {
|
main_parent.addEventListener('click', function(e) {
|
||||||
// Check if the main element is visible
|
// Check if the main element is visible
|
||||||
if (main.offsetHeight > 0 && main.offsetWidth > 0) {
|
if (main.offsetHeight > 0 && main.offsetWidth > 0) {
|
||||||
extensions.style.visibility = 'visible';
|
extensions.style.display = 'block';
|
||||||
} else {
|
} else {
|
||||||
extensions.style.visibility = 'hidden';
|
extensions.style.display = 'none';
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue