Remove params from URL after loading admin panel
This ensures that refreshing the page doesn't include any past success / failure messages.
This commit is contained in:
parent
d2f89c6360
commit
573ce02739
1 changed files with 4 additions and 0 deletions
|
@ -183,6 +183,10 @@ function savePage(el) {
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
history.replaceState(null, "", "/admin"+window.location.hash);
|
||||
</script>
|
||||
|
||||
{{template "footer" .}}
|
||||
|
||||
{{template "body-end" .}}
|
||||
|
|
Loading…
Add table
Reference in a new issue