Add reply container for comments at depth limit

This commit is contained in:
gldrk 2023-11-26 19:20:39 +00:00 committed by Ben Rog-Wilhelm
parent a856dcbf3b
commit 6741d4c41d

View file

@ -131,6 +131,7 @@
{% endfor %}
</div>
{% elif replies %}
<div id="replies-of-{{c.id}}"></div>
<div id="morecomments-{{c.id}}" class="mt-2 more-comments">
<button id="btn-{{c.id}}" class="d-none d-md-block btn btn-primary" onclick="morecomments('{{c.id}}')">More comments ({{c.descendant_count}})</button>
<a class="d-md-none" href="{{c.morecomments}}">More comments <i class="fas fa-long-arrow-right ml-1"></i></a>