change reply text to a multiline string
This commit is contained in:
parent
4b22c554f3
commit
4c1aecf78e
@ -105,7 +105,7 @@ async function createPost(username,text,time,specialtext,postid,isbot) {
|
||||
}
|
||||
newP.appendChild(spacerTextNode())
|
||||
// |\>.</|
|
||||
newP.innerHTML += `<button onclick="reply('${username}',${postid},'${htmlesc(htmlesc(text))}')">Reply to this Post</button>`
|
||||
newP.innerHTML += `<button onclick="reply('${username}',${postid},\`${htmlesc(htmlesc(text))}\`)">Reply to this Post</button>`
|
||||
|
||||
newDiv.appendChild(newP)
|
||||
newDiv.innerHTML += filterPost(text)
|
||||
|
Loading…
x
Reference in New Issue
Block a user