mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-11-22 08:07:56 +01: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