load more comments => scroll to infobar #78

This commit is contained in:
teddit 2020-12-28 21:14:25 +01:00
parent a655391cec
commit dbf1381b43
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ module.exports = function() {
comments_html = `
<div class="load-more-comments">
<a href="${load_comms_href}">load more comments (${comments.count})</a>
<a href="${load_comms_href}#c">load more comments (${comments.count})</a>
</div>
`
} else {
@ -171,7 +171,7 @@ module.exports = function() {
comments_html += `
<div class="load-more-comments">
<a href="${load_comms_href}">load more comments (${comment.count})</a>
<a href="${load_comms_href}#c">load more comments (${comment.count})</a>
</div>
`
} else {

View File

@ -147,7 +147,7 @@ html
.infobar.blue
p this thread is in contest mode - contest mode randomizes comment sorting and hides scores.
if viewing_comment
.infobar
div(class="infobar", id="c")
p you are viewing a single comment's thread.
a(href="" + post_url + "") view the rest of the comments →
.comments-info