diff --git a/flaskr/templates/writing.jinja2 b/flaskr/templates/writing.jinja2 index 87e2858..f631bfd 100644 --- a/flaskr/templates/writing.jinja2 +++ b/flaskr/templates/writing.jinja2 @@ -14,8 +14,8 @@ {% endif %} if (window.location.search.includes("reset=true")) { - window.history.pushState({}, document.title, window.location.pathname); - return; + window.history.pushState({}, document.title, window.location.pathname); + return; } decodeURIComponent(document.cookie).split(';').forEach(cookie => { [id, value] = cookie.trim().split('=') @@ -24,8 +24,8 @@ } const clearErrors = () => { - const e = document.getElementById('errors') - e.parentNode.removeChild(e) + const e = document.getElementById('errors') + e.parentNode.removeChild(e) } @@ -72,6 +72,6 @@ {% endif %} > - +