comment broken back href

This commit is contained in:
Henry 2021-02-22 16:25:13 +01:00
parent 73471b5ff6
commit af53bf71f5
1 changed files with 4 additions and 0 deletions

View File

@ -7,6 +7,10 @@
<div class="col-sm-12">
<p id="errBody">{{.Err}}</p>
<p>
<!-- this violates the CSP, since it's an inline script.
We probably want to solve https://github.com/ssb-ngi-pointer/go-ssb-room/issues/23
but until then it might be nice to include a _previous_ data from the rendere with an url of where to go.
-->
<a href="javascript:history.back()" class="btn btn-primary">Back</a>
</p>
</div>