From 9f6e0779aa550a0761fd96d0f82a9873ca5ddc71 Mon Sep 17 00:00:00 2001 From: Mystikfluu Date: Thu, 21 Jul 2022 20:26:48 +0200 Subject: [PATCH] fix #18 --- js/posts.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/posts.js b/js/posts.js index f135d79..ca8a438 100644 --- a/js/posts.js +++ b/js/posts.js @@ -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)