From 14a45c9136cca30d8d4c710b914eeb1a3c02258a Mon Sep 17 00:00:00 2001 From: bruno Date: Fri, 24 Jul 2026 09:56:15 -0400 Subject: [PATCH] fix: remove remaining logout JS handler in config.js --- frontend/js/config.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/frontend/js/config.js b/frontend/js/config.js index f3d5d74..c06a0f4 100644 --- a/frontend/js/config.js +++ b/frontend/js/config.js @@ -631,13 +631,7 @@ function initConfigModal() { }); } - // Logout button (always visible) — calls AuthManager.logout() directly - var logoutBtn = document.getElementById("logout-btn"); - if (logoutBtn) { - logoutBtn.addEventListener("click", function() { - AuthManager.logout(); - }); - } + // Logout button — handled inline in index.html (onclick) // Config nav search var cfgSearch = document.getElementById("config-nav-search");