diff --git a/js/main.js b/js/main.js index fd2fe758..06a44c79 100644 --- a/js/main.js +++ b/js/main.js @@ -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);