Fix buttons in preview
This commit is contained in:
parent
35f3f1fe84
commit
c3f7efa03c
1 changed files with 2 additions and 2 deletions
|
@ -129,10 +129,10 @@
|
|||
`<textarea 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> <button type="submit" name="fake" value="yes">Preview</button>` +
|
||||
`</label></form></div></post><div>`
|
||||
}
|
||||
else
|
||||
else if (!fake)
|
||||
ret += `<a href="/comment/${postid}/${id}">[Reply]</a> </div>`
|
||||
}
|
||||
else
|
||||
else if (!fake)
|
||||
ret += `<a href="/post/${id}">[Open]</a></div>`
|
||||
ret += '</div>'
|
||||
for(let i = post.comments.length - 1; i >= 0; i--) {
|
||||
|
|
Loading…
Reference in a new issue