mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
multiple issues fixed in vfeed_group_by_feed
This commit is contained in:
+9
-2
@@ -115,10 +115,16 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
||||
c.domNode.removeChild(hsp);
|
||||
|
||||
$$("#headlines-tmp > div").each(function(row) {
|
||||
if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
|
||||
if (row.className == 'cdmFeedTitle') {
|
||||
row.addClassName('new');
|
||||
row.style.display = 'none';
|
||||
c.domNode.appendChild(row);
|
||||
++num_added;
|
||||
} else if ($$("#headlines-frame DIV[id="+row.id+"]").length == 0) {
|
||||
row.style.display = 'none';
|
||||
row.addClassName('new');
|
||||
c.domNode.appendChild(row);
|
||||
++num_added;
|
||||
} else {
|
||||
row.parentNode.removeChild(row);
|
||||
}
|
||||
@@ -145,8 +151,9 @@ function headlines_callback2(transport, offset, background, infscroll_req) {
|
||||
|
||||
initHeadlinesMenu();
|
||||
|
||||
$$("#headlines-frame > div[id*=RROW]").each(
|
||||
$$("#headlines-frame > div[class*=new]").each(
|
||||
function(child) {
|
||||
child.removeClassName('new');
|
||||
if (!Element.visible(child))
|
||||
new Effect.Appear(child, { duration : 0.5 });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user