mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 22:15:56 +00:00
disable cdm auto catchup on viewfeed() in normal mode
This commit is contained in:
@@ -71,7 +71,7 @@ function viewfeed(feed, subop, is_cat, offset, background, infscroll_req) {
|
|||||||
|
|
||||||
// switching to a different feed, we might as well catchup stuff visible
|
// switching to a different feed, we might as well catchup stuff visible
|
||||||
// in headlines buffer (if any)
|
// in headlines buffer (if any)
|
||||||
if (!background && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) {
|
if (!background && isCdmMode() && getInitParam("cdm_auto_catchup") == 1 && parseInt(getActiveFeedId()) > 0) {
|
||||||
|
|
||||||
$$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
|
$$("#headlines-frame > div[id*=RROW][class*=Unread]").each(
|
||||||
function(child) {
|
function(child) {
|
||||||
|
|||||||
Reference in New Issue
Block a user