Fix logout
This commit is contained in:
parent
422b4a6312
commit
023d95d725
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ function populateServerSelectionList() {
|
|||
const logoutButton = document.createElement("button");
|
||||
logoutButton.className = "logout";
|
||||
logoutButton.innerText = "Log out";
|
||||
logoutButton.addEventListener("click", e => logOut(endpoint, e.currentTarget));
|
||||
logoutButton.addEventListener("click", e => logOut(server.endpoint, e.currentTarget));
|
||||
|
||||
li.appendChild(logoutButton);
|
||||
nodes.push(li);
|
||||
|
|
Loading…
Reference in a new issue