Skip to content

Commit

Permalink
CSS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oobabooga committed Mar 15, 2023
1 parent 87b84d2 commit 3047ed8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions css/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
});

0 comments on commit 3047ed8

Please sign in to comment.