mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-02 15:57:12 +00:00
cdmClicked: allow opening body URLs on click
This commit is contained in:
@@ -64,6 +64,7 @@ function viewfeed(params) {
|
||||
|
||||
if (feed != getActiveFeedId() || activeFeedIsCat() != is_cat) {
|
||||
_search_query = false;
|
||||
setActiveArticleId(0);
|
||||
}
|
||||
|
||||
if (offset != 0) {
|
||||
|
||||
@@ -1100,6 +1100,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"))) {
|
||||
openArticleInNewWindow(id);
|
||||
@@ -1166,7 +1167,7 @@ function cdmClicked(event, id, in_body) {
|
||||
const unread_in_buffer = $$("#headlines-frame > div[id*=RROW][class*=Unread]").length
|
||||
request_counters(unread_in_buffer == 0); */
|
||||
|
||||
return false;
|
||||
return in_body;
|
||||
}
|
||||
|
||||
function hlClicked(event, id) {
|
||||
|
||||
Reference in New Issue
Block a user