From cea14f3142c5f4bc42aa640b60e7eed271398c1d Mon Sep 17 00:00:00 2001 From: TudbuT Date: Sun, 23 Jan 2022 13:35:52 +0100 Subject: [PATCH] Tidy up code, fix a visual bug --- views/post.ejs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/views/post.ejs b/views/post.ejs index 2f27162..79f08fd 100644 --- a/views/post.ejs +++ b/views/post.ejs @@ -126,15 +126,26 @@ ret += `[Nevermind]` ret += `
` } else if (!fake) ret += `[Reply]
` + else + ret += '' } else if (!fake) ret += `[Open]` + else + ret += '' ret += '' for(let i = post.comments.length - 1; i >= 0; i--) { const pid = id