This commit is contained in:
Mystikfluu
2022-07-21 20:26:48 +02:00
parent 01524451f6
commit 9f6e0779aa
+1
View File
@@ -45,6 +45,7 @@ async function postMessage() {
let r = await post("/api/post",{"message":document.getElementById("post-text").value,"reply_id":reply_id,"receiver":currentChannel})
if(window.location.href.split("?mention=")[1])location.replace('/posts');
document.getElementById("post-text").value=""
unreply()
}
document.getElementById("post-btn").addEventListener("click",postMessage)