mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-12-16 10:21:00 +01:00
headlines scroll handler: don't autoselect anything if feed was just opened
This commit is contained in:
parent
de9509cd31
commit
6c110c1ceb
@ -435,8 +435,10 @@ const Headlines = {
|
|||||||
if (App.isCombinedMode()) {
|
if (App.isCombinedMode()) {
|
||||||
Headlines.updateFloatingTitle();
|
Headlines.updateFloatingTitle();
|
||||||
|
|
||||||
// set topmost child in the buffer as active
|
// set topmost child in the buffer as active, but not if we're at the beginning (to prevent auto marking
|
||||||
if (getInitParam("cdm_expanded") && getInitParam("cdm_auto_catchup") == 1) {
|
// first article as read all the time)
|
||||||
|
if ($("headlines-frame").scrollTop != 0 &&
|
||||||
|
getInitParam("cdm_expanded") && getInitParam("cdm_auto_catchup") == 1) {
|
||||||
|
|
||||||
const rows = $$("#headlines-frame > div[id*=RROW]");
|
const rows = $$("#headlines-frame > div[id*=RROW]");
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user