mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 17:05:56 +00:00
cdmClicked: backport master change to click on links
This commit is contained in:
@@ -1205,6 +1205,7 @@ function updateHeadlineLabels(transport) {
|
||||
}
|
||||
|
||||
function cdmClicked(event, id, in_body) {
|
||||
in_body = in_body || false;
|
||||
|
||||
if (!in_body && (event.ctrlKey || id == getActiveArticleId() || getInitParam("cdm_expanded"))) {
|
||||
Article.openArticleInNewWindow(id);
|
||||
@@ -1215,7 +1216,7 @@ function cdmClicked(event, id, in_body) {
|
||||
if (!getInitParam("cdm_expanded"))
|
||||
cdmScrollToArticleId(id);
|
||||
|
||||
return false;
|
||||
return in_body;
|
||||
}
|
||||
|
||||
function hlClicked(event, id) {
|
||||
|
||||
Reference in New Issue
Block a user