cdmClicked: backport master change to click on links

master
Andrew Dolgov 6 years ago
parent 00cd4a48d4
commit 072c03fbac

@ -1205,6 +1205,7 @@ function updateHeadlineLabels(transport) {
} }
function cdmClicked(event, id, in_body) { function cdmClicked(event, id, in_body) {
in_body = in_body || false;
if (!in_body && (event.ctrlKey || id == getActiveArticleId() || getInitParam("cdm_expanded"))) { if (!in_body && (event.ctrlKey || id == getActiveArticleId() || getInitParam("cdm_expanded"))) {
Article.openArticleInNewWindow(id); Article.openArticleInNewWindow(id);
@ -1215,7 +1216,7 @@ function cdmClicked(event, id, in_body) {
if (!getInitParam("cdm_expanded")) if (!getInitParam("cdm_expanded"))
cdmScrollToArticleId(id); cdmScrollToArticleId(id);
return false; return in_body;
} }
function hlClicked(event, id) { function hlClicked(event, id) {

Loading…
Cancel
Save