mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-23 07:19: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 = `
|
comments_html = `
|
||||||
<div class="load-more-comments">
|
<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>
|
</div>
|
||||||
`
|
`
|
||||||
} else {
|
} else {
|
||||||
@ -171,7 +171,7 @@ module.exports = function() {
|
|||||||
|
|
||||||
comments_html += `
|
comments_html += `
|
||||||
<div class="load-more-comments">
|
<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>
|
</div>
|
||||||
`
|
`
|
||||||
} else {
|
} else {
|
||||||
|
@ -147,7 +147,7 @@ html
|
|||||||
.infobar.blue
|
.infobar.blue
|
||||||
p this thread is in contest mode - contest mode randomizes comment sorting and hides scores.
|
p this thread is in contest mode - contest mode randomizes comment sorting and hides scores.
|
||||||
if viewing_comment
|
if viewing_comment
|
||||||
.infobar
|
div(class="infobar", id="c")
|
||||||
p you are viewing a single comment's thread.
|
p you are viewing a single comment's thread.
|
||||||
a(href="" + post_url + "") view the rest of the comments →
|
a(href="" + post_url + "") view the rest of the comments →
|
||||||
.comments-info
|
.comments-info
|
||||||
|
Loading…
Reference in New Issue
Block a user