loading more indicator

This commit is contained in:
Ryan Stafford 2024-05-11 14:11:40 -04:00
parent f380c4723e
commit 17e4bc76b9

View file

@ -159,6 +159,7 @@ function commentClick(e) {
for (var i = 0; i < comments.length; i++) { for (var i = 0; i < comments.length; i++) {
skip.push(comments[i].id) skip.push(comments[i].id)
} }
e.target.innerHTML = "loading more comments"
request(e.target.href+"&xhr",false, function(res){ request(e.target.href+"&xhr",false, function(res){
var parent = e.target.parentNode var parent = e.target.parentNode
parent.innerHTML = res parent.innerHTML = res