From e80fe14f7985f9e85bfb9582926acd7891455786 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Sun, 1 May 2022 12:13:25 -0700 Subject: fix for parsing reply link and showing images in static folder --- views/js/posts.js | 2 +- views/partials/posts.html | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'views') 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 }} - - - + {{ parseReplyLink $board.Actor.Id $opId .Id .Content }} {{ end }} {{ end }}
{{ parseContent $board.Actor $opId .Content $thread }}
-- cgit v1.2.3