UI: fix sidebars closing when typing on mobile

This commit is contained in:
oobabooga 2024-12-18 12:16:59 -08:00
parent 0c069e5b3f
commit 636a6621cc

View File

@ -740,9 +740,6 @@ function initializeSidebars() {
// Run the initializer when the page loads
initializeSidebars();
// Add an event listener to handle screen resizing
window.addEventListener("resize", initializeSidebars);
// Add click event listeners to toggle buttons
pastChatsToggle.addEventListener("click", () => {
toggleSidebar(pastChatsRow, pastChatsToggle);