fix open button on main page

This commit is contained in:
Daniella 2022-01-19 07:38:18 +01:00 committed by GitHub
parent 9e24fc8115
commit 4979a96712
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -128,7 +128,7 @@
ret += `<a class="controls" href="/comment/${postid}/${id}">[Reply]</a> </div>`
}
else
ret += `<a href="/post/${id}">[Open]</a></div>`
ret += `<a class="controls" href="/post/${id}">[Open]</a></div>`
for(let i = post.comments.length - 1; i >= 0; i--) {
const pid = id
id += i + '_'