summaryrefslogtreecommitdiff
path: root/js/Headlines.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-xjs/Headlines.js6
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);