mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 18:25:55 +00:00
js: misc code cleanup, handle ctrl-clicking on postContent
This commit is contained in:
@@ -4599,7 +4599,9 @@
|
||||
truncate_string(strip_tags($line['title']), 15) . "</div>";
|
||||
|
||||
print "<div class=\"postReply\" id=\"POST-$id\">";
|
||||
print "<div class=\"postHeader\">";
|
||||
print "<div
|
||||
onclick=\"return postClicked(event, $id)\"
|
||||
class=\"postHeader\">";
|
||||
|
||||
$entry_author = $line["author"];
|
||||
|
||||
@@ -4613,8 +4615,9 @@
|
||||
print "<div class=\"postDate$rtl_class\">$parsed_updated</div>";
|
||||
|
||||
if ($line["link"]) {
|
||||
print "<div clear='both'><a target='_blank' href=\"" . $line["link"] . "\">" .
|
||||
$line["title"] . "</a><span class='author'>$entry_author</span></div>";
|
||||
print "<div clear='both'><a target='_blank' href=\"" .
|
||||
$line["link"] . "\">" .
|
||||
$line["title"] . "<span class='author'>$entry_author</span></a></div>";
|
||||
} else {
|
||||
print "<div clear='both'>" . $line["title"] . "$entry_author</div>";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user