From ebc09be79d32239881727c0958ae545b23e87f6e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Nov 2018 19:59:11 +0300 Subject: [PATCH] moveToPost: set unread to false when article is selected --- js/viewfeed.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/js/viewfeed.js b/js/viewfeed.js index c54a8512..efb906cb 100755 --- a/js/viewfeed.js +++ b/js/viewfeed.js @@ -491,6 +491,7 @@ function moveToPost(mode, noscroll, noexpand) { } else if (next_id) { cdmScrollToArticleId(next_id, true); + toggleUnread(next_id, 0); } } else if (next_id) { @@ -515,6 +516,7 @@ function moveToPost(mode, noscroll, noexpand) { scrollArticle(-ctr.offsetHeight/4); } else if (prev_id) { cdmScrollToArticleId(prev_id, noscroll); + toggleUnread(next_id, 0);1 } } else if (prev_id) { -- 2.39.5