diff --git a/flaskr/templates/writing.html b/flaskr/templates/writing.html index afb4b8c..0b20751 100644 --- a/flaskr/templates/writing.html +++ b/flaskr/templates/writing.html @@ -25,8 +25,9 @@ window.scrollTo(0, document.body.scrollHeight); {% endif %} - if (document.getElementById('company').value === "BananaCorp") { - return + if (window.location.search.includes("reset=true")) { + window.history.pushState({},document.title,window.location.pathname); + return; } cookies = [