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
|
// 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");
|
||||||
|
|||||||
Reference in New Issue
Block a user