diff options
author | Andrew Dolgov <[email protected]> | 2019-03-07 12:16:50 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2019-03-07 12:16:50 +0300 |
commit | ae9ef7fe84b905b977c98cc5108a570d6a638e62 (patch) | |
tree | 17493f4bd73c12a8a2177d8a69a7b1fbcefc00b8 /js/Headlines.js | |
parent | 0b8f3909fe4d6b687955e101f624208c07fac88f (diff) |
Headlines.click: fix another small issue with expanded mode (2)
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-x | js/Headlines.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/Headlines.js b/js/Headlines.js index 4487f5bea..4b7e7b0c7 100755 --- a/js/Headlines.js +++ b/js/Headlines.js @@ -173,8 +173,10 @@ define(["dojo/_base/declare"], function (declare) { Headlines.select('none'); Article.setActive(id); - if (App.getInitParam("cdm_expanded") && !in_body) { - Article.openInNewWindow(id); + if (App.getInitParam("cdm_expanded")) { + if (!in_body) + Article.openInNewWindow(id); + Headlines.toggleUnread(id, 0); } else { Article.cdmScrollToId(id); |