add filter to the reply button text argument

This commit is contained in:
Mystikfluu 2022-06-23 21:25:34 +02:00
parent 7e14d7da8d
commit 91a61f2e69

View File

@ -105,7 +105,7 @@ async function createPost(username,text,time,specialtext,postid,isbot) {
}
newP.appendChild(spacerTextNode())
// |\>.</|
newP.innerHTML += `<button onclick="reply('${username}',${postid},'${text}')">Reply to this Post</button>`
newP.innerHTML += `<button onclick="reply('${username}',${postid},'${filterPost(text)}')">Reply to this Post</button>`
newDiv.appendChild(newP)
newDiv.innerHTML += filterPost(text)