fix: remove remaining logout JS handler in config.js

This commit is contained in:
2026-07-24 09:56:15 -04:00
parent d2dec1be06
commit 14a45c9136
+1 -7
View File
@@ -631,13 +631,7 @@ function initConfigModal() {
}); });
} }
// Logout button (always visible) — calls AuthManager.logout() directly // Logout button — handled inline in index.html (onclick)
var logoutBtn = document.getElementById("logout-btn");
if (logoutBtn) {
logoutBtn.addEventListener("click", function() {
AuthManager.logout();
});
}
// Config nav search // Config nav search
var cfgSearch = document.getElementById("config-nav-search"); var cfgSearch = document.getElementById("config-nav-search");