mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-16 06:55:57 +00:00
moveToPost: set unread to false when article is selected
This commit is contained in:
@@ -491,6 +491,7 @@ function moveToPost(mode, noscroll, noexpand) {
|
|||||||
|
|
||||||
} else if (next_id) {
|
} else if (next_id) {
|
||||||
cdmScrollToArticleId(next_id, true);
|
cdmScrollToArticleId(next_id, true);
|
||||||
|
toggleUnread(next_id, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (next_id) {
|
} else if (next_id) {
|
||||||
@@ -515,6 +516,7 @@ function moveToPost(mode, noscroll, noexpand) {
|
|||||||
scrollArticle(-ctr.offsetHeight/4);
|
scrollArticle(-ctr.offsetHeight/4);
|
||||||
} else if (prev_id) {
|
} else if (prev_id) {
|
||||||
cdmScrollToArticleId(prev_id, noscroll);
|
cdmScrollToArticleId(prev_id, noscroll);
|
||||||
|
toggleUnread(next_id, 0);1
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (prev_id) {
|
} else if (prev_id) {
|
||||||
|
|||||||
Reference in New Issue
Block a user