aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorFChannel <>2021-04-26 11:06:56 -0700
committerFChannel <>2021-04-26 11:06:56 -0700
commita07341569819f7f55d9e8b86db02c7e5ae9e8ba4 (patch)
tree8702f9fb96ddf25946c988c28e8edf54d8e7c14d /static
parent6025b11f3c6bbbded6f227fa44d76286b90a012c (diff)
new line after quote
Diffstat (limited to 'static')
-rw-r--r--static/js/posts.js8
1 files changed, 2 insertions, 6 deletions
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);