mirror of
https://github.com/twisterarmy/twister-calm.git
synced 2025-01-13 00:18:12 +00:00
fix issue #41 (correct loading posts in both timeline and profile modal)
This commit is contained in:
parent
eedeececa5
commit
80b6a35c4a
@ -120,6 +120,7 @@ function requestPostRecursively(containerToAppend,username,resource,count)
|
|||||||
requestPostRecursively(args.containerToAppend, n, "post"+lastk, count-1);
|
requestPostRecursively(args.containerToAppend, n, "post"+lastk, count-1);
|
||||||
} else {
|
} else {
|
||||||
profilePostsLoading = false;
|
profilePostsLoading = false;
|
||||||
|
args.containerToAppend.scroll();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, {containerToAppend:containerToAppend, count:count} );
|
}, {containerToAppend:containerToAppend, count:count} );
|
||||||
|
@ -211,6 +211,7 @@ function processReceivedPosts(req, posts) {
|
|||||||
req.mode = 'older';
|
req.mode = 'older';
|
||||||
requestGetposts(req);
|
requestGetposts(req);
|
||||||
}
|
}
|
||||||
|
$(window).scroll();
|
||||||
}
|
}
|
||||||
|
|
||||||
// request timeline update for a given list of users
|
// request timeline update for a given list of users
|
||||||
|
Loading…
Reference in New Issue
Block a user