Headlines.click: fix another small issue with expanded mode
This commit is contained in:
parent
84cf95fe8f
commit
0b8f3909fe
|
@ -169,9 +169,11 @@ define(["dojo/_base/declare"], function (declare) {
|
||||||
if (App.isCombinedMode()) {
|
if (App.isCombinedMode()) {
|
||||||
|
|
||||||
if (Article.getActive() != id) {
|
if (Article.getActive() != id) {
|
||||||
|
|
||||||
|
Headlines.select('none');
|
||||||
Article.setActive(id);
|
Article.setActive(id);
|
||||||
|
|
||||||
if (App.getInitParam("cdm_expanded")) {
|
if (App.getInitParam("cdm_expanded") && !in_body) {
|
||||||
Article.openInNewWindow(id);
|
Article.openInNewWindow(id);
|
||||||
Headlines.toggleUnread(id, 0);
|
Headlines.toggleUnread(id, 0);
|
||||||
} else {
|
} else {
|
||||||
|
@ -186,6 +188,7 @@ define(["dojo/_base/declare"], function (declare) {
|
||||||
|
|
||||||
return in_body;
|
return in_body;
|
||||||
} else {
|
} else {
|
||||||
|
Headlines.select('none');
|
||||||
Article.view(id);
|
Article.view(id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue