catchupFeedInGroup: dismiss elements on catchup
This commit is contained in:
parent
8b2a52c635
commit
11514d576f
1 changed files with 8 additions and 2 deletions
|
@ -446,14 +446,20 @@ function catchupFeedInGroup(id) {
|
|||
|
||||
if (getInitParam("confirm_feed_catchup") != 1 || confirm(str)) {
|
||||
|
||||
var rows = $$("#headlines-frame > div[id*=RROW][class*=Unread][orig-feed-id='"+id+"']");
|
||||
var rows = $$("#headlines-frame > div[id*=RROW][orig-feed-id='"+id+"']");
|
||||
|
||||
if (rows.length > 0) {
|
||||
|
||||
rows.each(function (row) {
|
||||
row.removeClassName("Unread");
|
||||
new Effect.Fade(row, {duration : 0.5, afterFinish: function() {
|
||||
Element.remove(row);
|
||||
}});
|
||||
});
|
||||
|
||||
var feedTitle = $("FTITLE-" + id);
|
||||
|
||||
if (feedTitle) new Effect.Fade(feedTitle, {duration : 0.5});
|
||||
|
||||
updateFloatingTitle(true);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue