mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-10-01 01:26:03 -04:00
CSS fix
This commit is contained in:
parent
87b84d2275
commit
3047ed8ce3
@ -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';
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user