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
|
// normal streams
|
||||||
else {
|
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');
|
display_spinner('#footer-spinner-container');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user