Merge pull request #63 from mmn/no_duplicates_in_feed_end
Duplicate items appeared when scrolling to bottom of feed
This commit is contained in:
commit
fce5e17f51
|
@ -1051,7 +1051,7 @@ $(window).scroll(function() {
|
|||
}
|
||||
// normal streams
|
||||
else {
|
||||
var getVars = qOrAmp(window.currentStream) + 'max_id=' + $('#feed-body').children('.stream-item').last().attr('data-quitter-id-in-stream');
|
||||
var getVars = qOrAmp(window.currentStream) + 'max_id=' + ($('#feed-body').children('.stream-item').last().attr('data-quitter-id-in-stream')-1);
|
||||
}
|
||||
|
||||
display_spinner('#footer-spinner-container');
|
||||
|
|
Loading…
Reference in New Issue
Block a user