aboutsummaryrefslogtreecommitdiff
path: root/p
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-04-07 00:29:37 +0200
committerGravatar GitHub <noreply@github.com> 2019-04-07 00:29:37 +0200
commitaef3f8d71beae6dfd551617d03ec8fcdb53549e4 (patch)
treed8ab08364b30b4a143b4fc709e00e8a8c6eac005 /p
parentdd397868564bf1d1dae6c16ab01cdfc0caf0e93a (diff)
Alow mix of auto read options (#2354)
Fix https://github.com/FreshRSS/FreshRSS/pull/2349#issuecomment-480540126
Diffstat (limited to 'p')
-rw-r--r--p/scripts/main.js2
1 files changed, 1 insertions, 1 deletions
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;