mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:25:57 +00:00
getLoadedArticleIds: consider visible rows only
catchupFeedInGroup: hide articles when catching up, with caveats
This commit is contained in:
@@ -453,8 +453,26 @@ function catchupFeedInGroup(id) {
|
||||
|
||||
rows.each(function (row) {
|
||||
row.removeClassName("Unread");
|
||||
|
||||
if (row.getAttribute("data-article-id") != getActiveArticleId()) {
|
||||
new Effect.Fade(row, {duration: 0.5});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
var feedTitles = $$("#headlines-frame > div[class='cdmFeedTitle']");
|
||||
|
||||
for (var i = 0; i < feedTitles.length; i++) {
|
||||
if (feedTitles[i].getAttribute("data-feed-id") == id) {
|
||||
|
||||
if (i < feedTitles.length - 1) {
|
||||
new Effect.Fade(feedTitles[i], {duration: 0.5});
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
updateFloatingTitle(true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user