aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
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);