From: Andrew Dolgov Date: Fri, 30 Nov 2018 16:59:11 +0000 (+0300) Subject: moveToPost: set unread to false when article is selected X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=ebc09be79d32239881727c0958ae545b23e87f6e;p=tt-rss.git moveToPost: set unread to false when article is selected --- 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) {