mirror of
https://github.com/twisterarmy/twister-html.git
synced 2025-01-26 22:54:45 +00:00
Fixing duplicate posts when crolling in profile view
This commit is contained in:
parent
11bef01ac4
commit
8d38810865
@ -176,7 +176,7 @@ function requestPostRecursively(containerToAppend,username,resource,count,useGet
|
||||
if( streamItems.length != 0 ) {
|
||||
var lastItem = streamItems.eq(streamItems.length-1);
|
||||
resource = "post" + lastItem.find(".post-data").attr("data-lastk");
|
||||
max_id = parseInt(lastItem.find(".post-data").attr("data-id"))-1;
|
||||
max_id = parseInt(lastItem.find(".post-data").attr("data-lastk"));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user