diff --git a/js/twister_actions.js b/js/twister_actions.js index cb1734a..f473246 100644 --- a/js/twister_actions.js +++ b/js/twister_actions.js @@ -120,6 +120,7 @@ function requestPostRecursively(containerToAppend,username,resource,count) requestPostRecursively(args.containerToAppend, n, "post"+lastk, count-1); } else { profilePostsLoading = false; + args.containerToAppend.scroll(); } } }, {containerToAppend:containerToAppend, count:count} ); diff --git a/js/twister_timeline.js b/js/twister_timeline.js index 9bce94a..c36e661 100644 --- a/js/twister_timeline.js +++ b/js/twister_timeline.js @@ -211,6 +211,7 @@ function processReceivedPosts(req, posts) { req.mode = 'older'; requestGetposts(req); } + $(window).scroll(); } // request timeline update for a given list of users