forked from rDrama/rDrama
fix
parent
9558a5aa6c
commit
bd62455a0d
|
@ -698,7 +698,7 @@
|
||||||
const form = new FormData();
|
const form = new FormData();
|
||||||
const xhr = new XMLHttpRequest();
|
const xhr = new XMLHttpRequest();
|
||||||
|
|
||||||
btn.classList.toggle('animate-pulse');
|
btn.classList.toggle('animate-pulse')
|
||||||
|
|
||||||
xhr.open("post", "/viewmore/{{p.id}}/{{sort}}/{{offset}}");
|
xhr.open("post", "/viewmore/{{p.id}}/{{sort}}/{{offset}}");
|
||||||
xhr.withCredentials=true;
|
xhr.withCredentials=true;
|
||||||
|
@ -713,7 +713,7 @@
|
||||||
xhr.send(form)
|
xhr.send(form)
|
||||||
}
|
}
|
||||||
</script>
|
</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
|
Load more comments
|
||||||
</button>
|
</button>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<div class="animate-pulse"></div>
|
Loading…
Reference in New Issue