mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2024-12-25 13:58:56 +01:00
Fix extensions block appearing where it shouldn't
This commit is contained in:
parent
bdb6eb5734
commit
669c640eb4
@ -15,9 +15,7 @@ main_parent.addEventListener('click', function(e) {
|
||||
if (chat_visible) {
|
||||
if (chat_mode_visible) {
|
||||
gallery_element.style.display = 'block';
|
||||
if (gallery_only) {
|
||||
extensions_block.style.display = '';
|
||||
}
|
||||
extensions_block.style.display = '';
|
||||
} else {
|
||||
gallery_element.style.display = 'none';
|
||||
extensions_block.style.display = 'none';
|
||||
@ -27,8 +25,5 @@ main_parent.addEventListener('click', function(e) {
|
||||
if (gallery_only) {
|
||||
extensions_block.style.display = 'none';
|
||||
}
|
||||
else {
|
||||
extensions_block.style.display = '';
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user