Merge branch 'new-dev' into 'new-dev'

fix bottom reply when thread reaches reply limit

See merge request fatchan/jschan!236
indiachan-spamvector
Thomas Lynch 2 years ago
commit c7fcc2c8b4
  1. 5
      views/pages/thread.pug

@ -53,7 +53,10 @@ block content
for post in thread.replies
- uids && post.userId && uids.add(post.userId)
+post(post)
a.bottom-reply.no-decoration.post-button(href='#postform') [New Reply]
if thread.replyposts >= board.settings.replyLimit && !thread.cyclic && !modview
p.title.text-center ⊖ Thread has reached reply limit.
else
a.bottom-reply.no-decoration.post-button(href='#postform') [New Reply]
hr(size=1)
.wrapbar
if modview

Loading…
Cancel
Save