diff --git a/js/twister_actions.js b/js/twister_actions.js index 12f0815..b0cb36e 100644 --- a/js/twister_actions.js +++ b/js/twister_actions.js @@ -177,7 +177,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")); } }