diff options
-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); |