Fix bug with loading data from cookies
Bit of groundwork for an actual reset button
This commit is contained in:
parent
8bae3ebacf
commit
1890095df9
|
@ -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 = [
|
||||
|
|
Loading…
Reference in New Issue