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
1 changed files with 2 additions and 0 deletions

View File

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