diff --git a/extensions/gallery/script.js b/extensions/gallery/script.js index 4203f0dd..b80785b6 100644 --- a/extensions/gallery/script.js +++ b/extensions/gallery/script.js @@ -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 = ''; - } } });