From 941e83282f6a291bbe0dd194cfb0f83c06b25d64 Mon Sep 17 00:00:00 2001 From: Sage Vaillancourt Date: Thu, 22 Sep 2022 16:27:47 -0400 Subject: [PATCH] Fix some indentation/spacing --- flaskr/templates/writing.jinja2 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 %} > - +