From aef3f8d71beae6dfd551617d03ec8fcdb53549e4 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 7 Apr 2019 00:29:37 +0200 Subject: [PATCH] Alow mix of auto read options (#2354) Fix https://github.com/FreshRSS/FreshRSS/pull/2349#issuecomment-480540126 --- p/scripts/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/p/scripts/main.js b/p/scripts/main.js index 215d4117b..d85a3ae15 100644 --- a/p/scripts/main.js +++ b/p/scripts/main.js @@ -163,7 +163,7 @@ function incUnreadsTag(tag_id, nb) { } function removeArticle(div) { - if (!div || div.classList.contains('active') || div.classList.contains('not_read')) { + if (!div || div.classList.contains('not_read') || (context.auto_mark_article && div.classList.contains('active'))) { return; } let scrollTop = box_to_follow.scrollTop;