diff options
author | Andrew Dolgov <[email protected]> | 2010-11-17 12:51:30 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-11-17 12:51:30 +0300 |
commit | 6e88da8223c70e4ec3af27f6385a8a89006709fe (patch) | |
tree | d90e1033076d052383752642a094994d54aa377f /functions.php | |
parent | 8624dec2dbd50440fbcee76546a17837b55c772e (diff) |
js: misc code cleanup, handle ctrl-clicking on postContent
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/functions.php b/functions.php index d2c94b49d..411f26b6e 100644 --- a/functions.php +++ b/functions.php @@ -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>"; } |