Hard reload, fix background

This commit is contained in:
Neale Pickett 2022-03-05 19:05:29 -07:00
parent 1cd458c852
commit 8b8491199c
2 changed files with 5 additions and 9 deletions

View File

@ -8,10 +8,8 @@
html {
font-family: sans-serif;
color: white;
background: seagreen linear-gradient(315deg, rgba(255,255,255,0.4), transparent);
}
body {
height: 100vh;
background: seagreen linear-gradient(315deg, rgba(255,255,255,0.2), transparent);
height: 100%;
}
div {
margin: 1em;
@ -36,7 +34,7 @@
error(req.statusText || "Authentication failed")
return
}
window.location = window.location
location.reload(true)
}
function init() {
document.querySelector("form").addEventListener("submit", login)

View File

@ -8,10 +8,8 @@
html {
font-family: sans-serif;
color: white;
background: seagreen linear-gradient(315deg, rgba(255,255,255,0.4), transparent);
}
body {
height: 100vh;
background: seagreen linear-gradient(315, rgba(255,255,255,0.2), transparent);
height: 100%;
}
div {
margin: 1em;