mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-10-12 19:41:04 +02:00
previous patch, remove active_found
This commit is contained in:
parent
48be35ca06
commit
cc8d254a61
@ -1240,8 +1240,6 @@ function headlines_scroll_handler(e) {
|
|||||||
|
|
||||||
unpackVisibleHeadlines();
|
unpackVisibleHeadlines();
|
||||||
|
|
||||||
var active_found = false;
|
|
||||||
|
|
||||||
// set topmost child in the buffer as active
|
// set topmost child in the buffer as active
|
||||||
if (getInitParam("cdm_auto_catchup") == 1) {
|
if (getInitParam("cdm_auto_catchup") == 1) {
|
||||||
var rows = $$("#headlines-frame > div[id*=RROW]");
|
var rows = $$("#headlines-frame > div[id*=RROW]");
|
||||||
@ -1250,8 +1248,6 @@ function headlines_scroll_handler(e) {
|
|||||||
var child = rows[i];
|
var child = rows[i];
|
||||||
|
|
||||||
if (!active_found && $("headlines-frame").scrollTop < child.offsetTop) {
|
if (!active_found && $("headlines-frame").scrollTop < child.offsetTop) {
|
||||||
active_found = true;
|
|
||||||
|
|
||||||
if (_active_article_id) {
|
if (_active_article_id) {
|
||||||
var row = $("RROW-" + _active_article_id);
|
var row = $("RROW-" + _active_article_id);
|
||||||
if (row) row.removeClassName("active");
|
if (row) row.removeClassName("active");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user