1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 15:15:56 +00:00

Headlines.click: clicking in body of currently active cdm article should mark

it as read, otherwise it's not possible without a kb shortcut or auto catchup
This commit is contained in:
Andrew Dolgov
2018-12-06 20:41:15 +03:00
parent 7805b291b6
commit 75666ac7ab

View File

@@ -23,6 +23,8 @@ define(["dojo/_base/declare"], function (declare) {
if (!App.getInitParam("cdm_expanded"))
Article.cdmScrollToId(id);
} else if (in_body) {
Headlines.toggleUnread(id, 0);
}
return in_body;