From 9ae8c346e6132468ffb92c95f7d08501a4851bd0 Mon Sep 17 00:00:00 2001 From: Ian Storms Date: Fri, 15 Jan 2021 13:19:43 -0500 Subject: [PATCH] fixed img in edit comment/edit post --- templates/add-comment.html | 2 +- templates/createFormEdit.html | 2 +- templates/editComment.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/add-comment.html b/templates/add-comment.html index cce29b0..53efa31 100644 --- a/templates/add-comment.html +++ b/templates/add-comment.html @@ -1,7 +1,7 @@ ${header}

Comment on: ${post.title}

-
+
${post.media.includes("/uploads/media/") ? `${post.displayname}'s image
diff --git a/templates/editComment.html b/templates/editComment.html index b72ca36..3eb8014 100644 --- a/templates/editComment.html +++ b/templates/editComment.html @@ -1,7 +1,7 @@ ${header}

Comment on: ${post.title}

-
+
${post.media.includes("/uploads/media/") ? `${user.displayname}'s image`:'' }

${post.content}