diff options
author | Andrew Dolgov <[email protected]> | 2018-12-06 20:41:15 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-12-06 20:41:15 +0300 |
commit | 75666ac7aba80bdcad8ef0c73ccd8936b0a8987d (patch) | |
tree | 526d1e3a441f907bcfa15298045c19e29a69e8d8 /js | |
parent | 7805b291b6617252fe6ac64759af859ab09d2e28 (diff) |
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
Diffstat (limited to 'js')
-rwxr-xr-x | js/Headlines.js | 2 |
1 files changed, 2 insertions, 0 deletions
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; |