1
0
Fork 0
mirror of https://git.sr.ht/~cadence/bibliogram synced 2026-03-01 18:31:35 +00:00

Add settings restore link

This commit is contained in:
Cadence Ember 2020-06-19 19:12:43 +12:00
parent 21875a8e83
commit 0c16c027e9
No known key found for this signature in database
GPG key ID: 128B99B1B74A6412
4 changed files with 34 additions and 10 deletions

View file

@ -4,3 +4,5 @@ if (params.has("status")) {
params.delete("message")
history.replaceState(null, "", "?" + params.toString())
}
document.getElementById("restore-link").addEventListener("click", event => event.preventDefault())