fix: remove remaining logout JS handler in config.js
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user