aboutsummaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
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>