mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 10:46:49 +00:00
add a hack to remove duplicate headlines from the buffer on initial load
This commit is contained in:
@@ -80,6 +80,11 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
|||||||
dijit.byId("headlines-toolbar").attr('content',
|
dijit.byId("headlines-toolbar").attr('content',
|
||||||
reply['headlines']['toolbar']);
|
reply['headlines']['toolbar']);
|
||||||
|
|
||||||
|
$$("#headlines-frame > div[id*=RROW]").each(function(row) {
|
||||||
|
if ($$("#headlines-frame DIV[id="+row.id+"]").length > 1) {
|
||||||
|
row.parentNode.removeChild(row);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
if (getInitParam("cdm_auto_catchup") == 1) {
|
if (getInitParam("cdm_auto_catchup") == 1) {
|
||||||
var hsp = $("headlines-spacer");
|
var hsp = $("headlines-spacer");
|
||||||
|
|||||||
Reference in New Issue
Block a user