From 75666ac7aba80bdcad8ef0c73ccd8936b0a8987d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 6 Dec 2018 20:41:15 +0300 Subject: 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 --- js/Headlines.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'js/Headlines.js') diff --git a/js/Headlines.js b/js/Headlines.js index b0a74f801..130aee381 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -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; -- cgit v1.2.3