aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorFChannel <>2022-05-01 12:13:25 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commite80fe14f7985f9e85bfb9582926acd7891455786 (patch)
tree80f4fb97c3299d94cb590a23be2eb531ec66c3db /views
parent2af4a39ac16c6245f0e87ddf3cc137339f6c604f (diff)
fix for parsing reply link and showing images in static folder
Diffstat (limited to 'views')
-rw-r--r--views/js/posts.js2
-rw-r--r--views/partials/posts.html4
2 files changed, 2 insertions, 4 deletions
diff --git a/views/js/posts.js b/views/js/posts.js
index 87f6228..5a9ab50 100644
--- a/views/js/posts.js
+++ b/views/js/posts.js
@@ -3,7 +3,7 @@ function startNewPost(){
el.style="display:none;";
el.setAttribute("state", "1");
document.getElementById("newpost").style = "";
- document.getElementById("stopTablePost").style = "display:unset;";
+ document.getElementById("stopTablePost").style = "cursor: pointer; display:unset;";
sessionStorage.setItem("newpostState", true);
}
diff --git a/views/partials/posts.html b/views/partials/posts.html
index a248650..14d4878 100644
--- a/views/partials/posts.html
+++ b/views/partials/posts.html
@@ -106,9 +106,7 @@
{{ $parentId := .Id }}
{{ if .Replies.OrderedItems }}
{{ range .Replies.OrderedItems }}
-
- <!--TODO: fix parse reply link function with other routes mainly getactor-->
- <span id="{{$parentId}}-replyto-{{.Id}}"><!-- fix \{\{ parseReplyLink $board.Actor.Id $opId .Id .Content }} --></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;">{{ parseContent $board.Actor $opId .Content $thread }}</p>