Easier Replying
This commit is contained in:
parent
0660b1c05c
commit
c6c3fc5e50
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@
|
|||
`<input type="username" name="name" ${fake ? `value="${post.comments[post.comments.length - 1].author.replaceAll("&", "&").replaceAll("\"", """)}"` : 'value="Anonymous"'} required>: ` +
|
||||
`<input type="" name="title" placeholder="Title" ${fake ? `value="${post.comments[post.comments.length - 1].title.replaceAll("&", "&").replaceAll("\"", """)}"` : ''} required>` +
|
||||
`</h3>` +
|
||||
`<textarea name="content" placeholder="So basically, ..." required>` +
|
||||
`<textarea id=edit name="content" placeholder="So basically, ..." required>` +
|
||||
(fake ? post.comments[post.comments.length - 1].content.replaceAll("&", "&").replaceAll("<", "<").replaceAll(">", ">") : '') +
|
||||
`</textarea><br/><br/>` +
|
||||
`<button type="submit" name="fake" value="no">Submit</button> ` +
|
||||
|
@ -147,7 +147,7 @@
|
|||
`</form></div></post><div>`
|
||||
}
|
||||
else if (!fake)
|
||||
ret += `<a href="/comment/${postid}/${id}">[Reply]</a> </div>`
|
||||
ret += `<a href="/comment/${postid}/${id}#edit">[Reply]</a> </div>`
|
||||
else
|
||||
ret += '</div>'
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue