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");