1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-28 13:01:29 +00:00

Merge pull request #236 from levito/patch-5

only do article update operations once when scrolling
This commit is contained in:
Andrew Dolgov
2013-06-24 22:18:11 -07:00

View File

@@ -1281,7 +1281,8 @@ function headlines_scroll_handler(e) {
var child = rows[i];
if ($("headlines-frame").scrollTop < child.offsetTop &&
child.offsetTop - $("headlines-frame").scrollTop < 100) {
child.offsetTop - $("headlines-frame").scrollTop < 100 &&
child.id.replace("RROW-", "") != _active_article_id) {
if (_active_article_id) {
var row = $("RROW-" + _active_article_id);