remotes/1693045480750635534/spooky-22
kek7198 2021-12-05 12:10:36 -06:00
parent 9558a5aa6c
commit bd62455a0d
2 changed files with 3 additions and 2 deletions

View File

@ -698,7 +698,7 @@
const form = new FormData();
const xhr = new XMLHttpRequest();
btn.classList.toggle('animate-pulse');
btn.classList.toggle('animate-pulse')
xhr.open("post", "/viewmore/{{p.id}}/{{sort}}/{{offset}}");
xhr.withCredentials=true;
@ -713,7 +713,7 @@
xhr.send(form)
}
</script>
<button class="mt-2 w-full btn btn-gray animate-pulse" id="load-more-button" onclick="loadMore('comment-section', this.id); this.disabled = true;">
<button class="mt-2 w-full btn btn-gray" id="load-more-button" onclick="loadMore('comment-section', this.id); this.disabled = true;">
Load more comments
</button>
{% endif %}

View File

@ -0,0 +1 @@
<div class="animate-pulse"></div>