1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 20:05:55 +00:00

viewfeed: try to prevent dupe headlines from being loaded in the buffer

This commit is contained in:
Andrew Dolgov
2011-09-25 20:03:16 +04:00
parent 543fce93fc
commit 957425aa41

View File

@@ -96,8 +96,10 @@ function headlines_callback2(transport, offset, background) {
c.domNode.removeChild(hsp);
$$("#headlines-tmp > div").each(function(row) {
if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
row.style.display = 'none';
c.domNode.appendChild(row);
}
});
if (!hsp) hsp = new Element("DIV", {"id": "headlines-spacer"});