From 4b22c554f3560636bf93fee95876ee948056eff5 Mon Sep 17 00:00:00 2001 From: Mystikfluu Date: Thu, 23 Jun 2022 23:21:34 +0200 Subject: [PATCH] setting the reply id when replying --- js/posts.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/posts.js b/js/posts.js index 4e35308..518e9ff 100644 --- a/js/posts.js +++ b/js/posts.js @@ -167,8 +167,7 @@ function reply(username,postid,posttext) { document.getElementById("reply").style = "" document.getElementById("reply_username").innerText = username document.getElementById("reply_text").innerHTML = filterPost(unescape(posttext)) - // if(document.getElementById("post-text").value.length >= 5)document.getElementById("post-text").value += "\n" - // document.getElementById("post-text").value += `_@_${username} ` + reply_id = postid } function unreply() {