diff options
author | FChannel <> | 2021-07-22 13:50:11 -0700 |
---|---|---|
committer | FChannel <> | 2021-07-22 13:50:11 -0700 |
commit | 3b2c8a4c78ade9e819b61aa055039ae00e517a3e (patch) | |
tree | 1d52c2c44cf89d6aa53b7ff2fd1e034553e2157a /static/ncatalog.html | |
parent | 5592a8c898b45e1e97d91b2c0bb0ed21750a9959 (diff) |
fixed quote bug and moved comment parsing server side without javascript
Diffstat (limited to 'static/ncatalog.html')
-rw-r--r-- | static/ncatalog.html | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/static/ncatalog.html b/static/ncatalog.html index 68bb01a..d007d62 100644 --- a/static/ncatalog.html +++ b/static/ncatalog.html @@ -105,7 +105,7 @@ document.getElementById("{{ .Id }}-anchor").href = "/{{ $board.Name }}/" + shortURL("{{$board.Actor.Id}}", "{{ .Id }}") </script> {{ end }} - <a id="{{ .Id }}-link" href="/{{ $board.Name }}/"> + <a id="{{ .Id }}-link" href="/{{ $board.Name }}/{{ short $board.Actor.Outbox .Id }}"> <div> {{ $replies := .Replies }} {{ if $replies }} @@ -121,9 +121,6 @@ </div> </a> </div> - <script> - document.getElementById("{{ .Id }}-link").href = "/{{ $board.Name }}/" + shortURL("{{$board.Actor.Id}}", "{{ .Id }}") - </script> {{ end }} </div> <hr> |