Fix extensions block appearing where it shouldn't
This commit is contained in:
parent
bdb6eb5734
commit
669c640eb4
1 changed files with 1 additions and 6 deletions
|
@ -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…
Add table
Reference in a new issue