mirror of
https://github.com/rystaf/mlmym.git
synced 2024-11-21 21:27:15 +00:00
loading more indicator
This commit is contained in:
parent
f380c4723e
commit
17e4bc76b9
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue