Headlines.click: fix another small issue with expanded mode

master
Andrew Dolgov 6 years ago
parent 84cf95fe8f
commit 0b8f3909fe

@ -169,9 +169,11 @@ define(["dojo/_base/declare"], function (declare) {
if (App.isCombinedMode()) {
if (Article.getActive() != id) {
Headlines.select('none');
Article.setActive(id);
if (App.getInitParam("cdm_expanded")) {
if (App.getInitParam("cdm_expanded") && !in_body) {
Article.openInNewWindow(id);
Headlines.toggleUnread(id, 0);
} else {
@ -186,6 +188,7 @@ define(["dojo/_base/declare"], function (declare) {
return in_body;
} else {
Headlines.select('none');
Article.view(id);
}
}

Loading…
Cancel
Save