mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 06:41:29 +00:00
hlClicked: allow opening originating article directly while middle-clicking on the headline title
This commit is contained in:
@@ -1902,11 +1902,14 @@ function postOpenInNewTab(event, id) {
|
||||
|
||||
function hlClicked(event, id) {
|
||||
try {
|
||||
if (event.altKey) {
|
||||
if (event.which == 2) {
|
||||
view(id);
|
||||
return true;
|
||||
} else if (event.altKey) {
|
||||
openArticleInNewWindow(id);
|
||||
} else if (!event.ctrlKey) {
|
||||
view(id);
|
||||
return true;
|
||||
return false;
|
||||
} else {
|
||||
toggleSelected(id);
|
||||
toggleUnread(id, 0, false);
|
||||
|
||||
Reference in New Issue
Block a user