summaryrefslogtreecommitdiff
path: root/js/viewfeed.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-05-16 09:54:12 +0400
committerAndrew Dolgov <[email protected]>2013-05-16 09:54:12 +0400
commitcc8d254a61d0afda89e950255362495f0acb076b (patch)
treeb15d90a4cdba93631100940b9fa11a38b9945ed9 /js/viewfeed.js
parent48be35ca063bb2fde1db3cbbc7ffaaf2f71a6e03 (diff)
previous patch, remove active_found
Diffstat (limited to 'js/viewfeed.js')
-rw-r--r--js/viewfeed.js4
1 files changed, 0 insertions, 4 deletions
diff --git a/js/viewfeed.js b/js/viewfeed.js
index 3981fd964..2142f2e96 100644
--- a/js/viewfeed.js
+++ b/js/viewfeed.js
@@ -1240,8 +1240,6 @@ function headlines_scroll_handler(e) {
unpackVisibleHeadlines();
- var active_found = false;
-
// set topmost child in the buffer as active
if (getInitParam("cdm_auto_catchup") == 1) {
var rows = $$("#headlines-frame > div[id*=RROW]");
@@ -1250,8 +1248,6 @@ function headlines_scroll_handler(e) {
var child = rows[i];
if (!active_found && $("headlines-frame").scrollTop < child.offsetTop) {
- active_found = true;
-
if (_active_article_id) {
var row = $("RROW-" + _active_article_id);
if (row) row.removeClassName("active");