1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2025-01-19 01:24:05 +01:00

Add event to quote backlinks

This commit is contained in:
8chan 2015-02-18 16:55:03 -08:00
parent 6cc668a722
commit 4e335db3e8

View File

@ -1828,7 +1828,7 @@ function markup(&$body, $track_cites = false, $op = false) {
} }
if (isset($cited_posts[$cite])) { if (isset($cited_posts[$cite])) {
$replacement = '<a onclick="highlightReply(\''.$cite.'\');" href="' . $replacement = '<a onclick="highlightReply(\''.$cite.'\', event);" href="' .
$config['root'] . $board['dir'] . $config['dir']['res'] . $config['root'] . $board['dir'] . $config['dir']['res'] .
($cited_posts[$cite] ? $cited_posts[$cite] : $cite) . '.html#' . $cite . '">' . ($cited_posts[$cite] ? $cited_posts[$cite] : $cite) . '.html#' . $cite . '">' .
'&gt;&gt;' . $cite . '&gt;&gt;' . $cite .
@ -1927,7 +1927,7 @@ function markup(&$body, $track_cites = false, $op = false) {
$replacement = '<a ' . $replacement = '<a ' .
($_board == $board['uri'] ? ($_board == $board['uri'] ?
'onclick="highlightReply(\''.$cite.'\');" ' 'onclick="highlightReply(\''.$cite.'\', event);" '
: '') . 'href="' . $link . '">' . : '') . 'href="' . $link . '">' .
'&gt;&gt;&gt;/' . $_board . '/' . $cite . '&gt;&gt;&gt;/' . $_board . '/' . $cite .
'</a>'; '</a>';