Fix: click on feed title (#6452)

This commit is contained in:
maTh 2024-05-12 17:10:20 +02:00 committed by GitHub
parent 3b953d759b
commit 0940025980
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -1081,7 +1081,7 @@ function init_stream(stream) {
return true;
}
el = ev.target.closest('.item .title > a');
el = ev.target.closest('.item a.title');
if (el) { // Allow default control/command-click behaviour such as open in background-tab
return ev.ctrlKey || ev.metaKey;
}
@ -1189,7 +1189,7 @@ function init_stream(stream) {
return;
}
let el = ev.target.closest('.item .title > a');
let el = ev.target.closest('.item a.title');
if (el) {
if (ev.which == 1) {
if (ev.ctrlKey) { // Control+click