mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-03-11 16:14:17 +01:00
UI: fix sidebars closing when typing on mobile
This commit is contained in:
parent
0c069e5b3f
commit
636a6621cc
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue