Alow mix of auto read options (#2354)

Fix
https://github.com/FreshRSS/FreshRSS/pull/2349#issuecomment-480540126
This commit is contained in:
Alexandre Alapetite
2019-04-07 00:29:37 +02:00
committed by GitHub
parent dd39786856
commit aef3f8d71b

View File

@@ -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;