Fix some indentation/spacing

This commit is contained in:
Sage Vaillancourt 2022-09-22 16:27:47 -04:00
parent ddba4b103b
commit 941e83282f
1 changed files with 5 additions and 5 deletions

View File

@ -14,8 +14,8 @@
{% endif %} {% endif %}
if (window.location.search.includes("reset=true")) { if (window.location.search.includes("reset=true")) {
window.history.pushState({}, document.title, window.location.pathname); window.history.pushState({}, document.title, window.location.pathname);
return; return;
} }
decodeURIComponent(document.cookie).split(';').forEach(cookie => { decodeURIComponent(document.cookie).split(';').forEach(cookie => {
[id, value] = cookie.trim().split('=') [id, value] = cookie.trim().split('=')
@ -24,8 +24,8 @@
} }
const clearErrors = () => { const clearErrors = () => {
const e = document.getElementById('errors') const e = document.getElementById('errors')
e.parentNode.removeChild(e) e.parentNode.removeChild(e)
} }
</script> </script>
</head> </head>
@ -72,6 +72,6 @@
{% endif %} {% endif %}
> >
</form> </form>
</body> </body>
</html> </html>