Skip to content

Commit

Permalink
loading more indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
rystaf committed May 11, 2024
1 parent f380c47 commit 17e4bc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions public/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ function commentClick(e) {
for (var i = 0; i < comments.length; i++) {
skip.push(comments[i].id)
}
e.target.innerHTML = "loading more comments"
request(e.target.href+"&xhr",false, function(res){
var parent = e.target.parentNode
parent.innerHTML = res
Expand Down

0 comments on commit 17e4bc7

Please sign in to comment.