mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 17:25:57 +00:00
use real link to article in headlines list (for middle click) (2)
This commit is contained in:
@@ -4986,7 +4986,7 @@
|
|||||||
|
|
||||||
print "<a id=\"RTITLE-$id\"
|
print "<a id=\"RTITLE-$id\"
|
||||||
href=\"" . htmlspecialchars($line["link"]) . "\"
|
href=\"" . htmlspecialchars($line["link"]) . "\"
|
||||||
onclick=\"view($id,$feed_id);\">" .
|
onclick=\"return view($id,$feed_id);\">" .
|
||||||
$line["title"];
|
$line["title"];
|
||||||
|
|
||||||
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
|
if (get_pref($link, 'SHOW_CONTENT_PREVIEW')) {
|
||||||
|
|||||||
@@ -463,6 +463,8 @@ function view(id, feed_id, skip_history) {
|
|||||||
article_callback2(transport, id, feed_id);
|
article_callback2(transport, id, feed_id);
|
||||||
} });
|
} });
|
||||||
|
|
||||||
|
return false;
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
exception_error("view", e);
|
exception_error("view", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user