mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 23:09:28 +01:00
load more comments => scroll to infobar #78
This commit is contained in:
parent
a655391cec
commit
dbf1381b43
@ -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 {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user