Fixed logout
This commit is contained in:
parent
007e42bf7d
commit
4255a3f107
|
@ -233,7 +233,7 @@ usernameBox.addEventListener("click", (event) => {
|
||||||
updateUserInfo()
|
updateUserInfo()
|
||||||
});
|
});
|
||||||
logOutButton.addEventListener("click", (event) => {
|
logOutButton.addEventListener("click", (event) => {
|
||||||
window.location.replace("https://notes.hectabit.org/api/logout")
|
window.location.replace("/logout/index.html")
|
||||||
});
|
});
|
||||||
exitThing.addEventListener("click", (event) => {
|
exitThing.addEventListener("click", (event) => {
|
||||||
optionsDiv.classList.add("hidden")
|
optionsDiv.classList.add("hidden")
|
||||||
|
|
Loading…
Reference in New Issue