master
kek7198 2021-12-10 20:05:48 -06:00
parent b00911ebd9
commit bd193f396b
1 changed files with 5 additions and 3 deletions

View File

@ -449,9 +449,11 @@
{% if p %}
{% set pid = p.id %}
{% endif %}
<button class="mt-2 w-full btn btn-gray" id="load-more-button" onclick="loadMore({{pid}},'{{sort}}',{{offset}},'comment-list',this.id); this.disabled = true;">
Load more comments
</button>
<div id="comment-list-{{ offset }}">
<button class="mt-2 w-full btn btn-gray" id="load-more-button" onclick="loadMore({{pid}},'{{sort}}',{{offset}},'comment-list-{{ offset }}',this.id); this.disabled = true;">
Load more comments
</button>
</div>
{% endif %}
<style>