diff options
author | Andrew Dolgov <[email protected]> | 2016-03-22 23:22:28 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2016-03-22 23:22:28 +0300 |
commit | 2d052e42b595b6396a140d82877e9440bc405f97 (patch) | |
tree | 2eb3acf35d4d8c48c07d57987544c9854613d4e9 /js/viewfeed.js | |
parent | 6be118fda1e976de9880fbbabb3611d3c7abe690 (diff) |
getLoadedArticleIds: consider visible rows only
catchupFeedInGroup: hide articles when catching up, with caveats
Diffstat (limited to 'js/viewfeed.js')
-rwxr-xr-x | js/viewfeed.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js index 2873a9e29..8fccd5a49 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -928,8 +928,10 @@ function getLoadedArticleIds() { var children = $$("#headlines-frame > div[id*=RROW-]"); children.each(function(child) { + if (Element.visible(child)) { rv.push(child.id.replace("RROW-", "")); - }); + } + }); return rv; |