diff options
author | FChannel <> | 2021-04-26 11:06:56 -0700 |
---|---|---|
committer | FChannel <> | 2021-04-26 11:06:56 -0700 |
commit | a07341569819f7f55d9e8b86db02c7e5ae9e8ba4 (patch) | |
tree | 8702f9fb96ddf25946c988c28e8edf54d8e7c14d | |
parent | 6025b11f3c6bbbded6f227fa44d76286b90a012c (diff) |
new line after quote
-rw-r--r-- | main.go | 2 | ||||
-rw-r--r-- | static/js/posts.js | 8 |
2 files changed, 3 insertions, 7 deletions
@@ -26,7 +26,7 @@ var Domain = TP + "" + GetConfigValue("instance") var authReq = []string{"captcha","email","passphrase"} -var supportedFiles = []string{"image/gif","image/jpeg","image/png","image/svg+xml","image/webp","image/avif","image/apng","video/mp4","video/ogg","video/webm","audio/mpeg","audio/ogg","audio/wav", "audio/wave", "audio/x-wav"} +var supportedFiles = []string{"image/gif","image/jpeg","image/png","image/svg+xml","image/svg","image/webp","image/avif","image/apng","video/mp4","video/ogg","video/webm","audio/mpeg","audio/ogg","audio/wav", "audio/wave", "audio/x-wav"} var SiteEmail = GetConfigValue("emailaddress") //contact@fchan.xyz var SiteEmailPassword = GetConfigValue("emailpass") 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); |