Fix disappearing character gallery

This commit is contained in:
oobabooga 2023-11-19 08:31:01 -08:00
parent 9da7bb203d
commit 8cf05c1b31
3 changed files with 14 additions and 7 deletions

View file

@ -373,4 +373,3 @@ function toggleBigPicture() {
}
}
showBigPicture();

View file

@ -10,6 +10,12 @@ function toggle_controls(value) {
chatParent.classList.remove("bigchat");
document.getElementById("chat-input-row").classList.remove("bigchat");
document.getElementById("chat-col").classList.remove("bigchat");
let gallery_element = document.getElementById('gallery-extension');
if (gallery_element) {
gallery_element.style.display = 'block';
}
} else {
belowChatInput.forEach(element => {
element.style.display = "none";