setting the reply id when replying

This commit is contained in:
Mystikfluu 2022-06-23 23:21:34 +02:00
parent 3d81cab301
commit 4b22c554f3

View File

@ -167,8 +167,7 @@ function reply(username,postid,posttext) {
document.getElementById("reply").style = "" document.getElementById("reply").style = ""
document.getElementById("reply_username").innerText = username document.getElementById("reply_username").innerText = username
document.getElementById("reply_text").innerHTML = filterPost(unescape(posttext)) document.getElementById("reply_text").innerHTML = filterPost(unescape(posttext))
// if(document.getElementById("post-text").value.length >= 5)document.getElementById("post-text").value += "\n" reply_id = postid
// document.getElementById("post-text").value += `_@_${username} `
} }
function unreply() { function unreply() {