Added basic settings support.
You can edit relays, embed options, and sign out. This moves the signout button from the nav to the settings area.
This commit is contained in:
parent
9a3361750e
commit
e3b31af127
12 changed files with 198 additions and 40 deletions
|
@ -163,14 +163,6 @@ function close_reply() {
|
|||
modal.classList.add("closed");
|
||||
}
|
||||
|
||||
async function press_logout() {
|
||||
if (confirm("Are you sure you want to sign out?")) {
|
||||
localStorage.clear();
|
||||
await dbclear();
|
||||
window.location.reload();
|
||||
}
|
||||
}
|
||||
|
||||
function delete_post_confirm(evid) {
|
||||
if (!confirm("Are you sure you want to delete this post?"))
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue