mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-18 20:21:51 +00:00
headlines callback: prevent creation of duplicate RROW nodes
This commit is contained in:
@@ -100,6 +100,8 @@ function headlines_callback2(transport, offset, background) {
|
|||||||
if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
|
if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
|
||||||
row.style.display = 'none';
|
row.style.display = 'none';
|
||||||
c.domNode.appendChild(row);
|
c.domNode.appendChild(row);
|
||||||
|
} else {
|
||||||
|
row.parentNode.removeChild(row);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user