From a07341569819f7f55d9e8b86db02c7e5ae9e8ba4 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Mon, 26 Apr 2021 11:06:56 -0700 Subject: new line after quote --- static/js/posts.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'static') diff --git a/static/js/posts.js b/static/js/posts.js index d6395e2..592a35d 100644 --- a/static/js/posts.js +++ b/static/js/posts.js @@ -197,12 +197,8 @@ function quote(actorName, opid, id) header.innerText = "Replying to Thread No. " + shortURL(actorName, opid); inReplyTo.value = opid; - if(id != "reply") { - if(comment.value != "") - comment.value += "\n>>" + id; - else - comment.value += ">>" + id; - } + if(id != "reply") + comment.value += ">>" + id + "\n"; dragElement(header); -- cgit v1.2.3