diff options
author | FChannel <> | 2021-07-25 17:35:41 -0700 |
---|---|---|
committer | FChannel <> | 2021-07-25 17:35:41 -0700 |
commit | 87fc54c9d41bdbe7eaa8769386776a3723580b34 (patch) | |
tree | 208bef1d292eb7aa58b44c7389bd9ed47b61d1fd /static | |
parent | 6846150cb48d080112981633d6dddabef5ce4439 (diff) |
showing post replies bug fix
Diffstat (limited to 'static')
-rw-r--r-- | static/posts.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/static/posts.html b/static/posts.html index 17421af..67a755c 100644 --- a/static/posts.html +++ b/static/posts.html @@ -54,7 +54,7 @@ {{ end }} {{ end }} {{ range $replies.OrderedItems }} - <div id="{{ .Id }}"> + <div id="{{ short $board.Actor.Outbox .Id }}"> <div style="display: inline-block; overflow: auto;"> <div style="float: left; display: block; margin-right: 5px;">>></div> <div class="post" style="overflow: auto; padding: 5px; margin-bottom: 2px;"> @@ -100,7 +100,7 @@ {{ $parentId := .Id }} {{ if .Replies.OrderedItems }} {{ range .Replies.OrderedItems }} - <span id="{{$parentId}}-replyto-{{.Id}}"></span> + <span id="{{$parentId}}-replyto-{{.Id}}">{{ parseReplyLink $board.Actor.Id $opId .Id .Content }}</span> {{ end }} {{ end }} <p id="{{ .Id }}-content" style="white-space: pre-wrap; margin: 10px 30px 10px 30px;">{{.ContentHTML}}</p> |