Add event to quote backlinks
This commit is contained in:
parent
ce3ce4f1b6
commit
6dd1420f91
@ -1952,7 +1952,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'] .
|
||||||
link_for(array('id' => $cite, 'thread' => $cited_posts[$cite])) . '#' . $cite . '">' .
|
link_for(array('id' => $cite, 'thread' => $cited_posts[$cite])) . '#' . $cite . '">' .
|
||||||
'>>' . $cite .
|
'>>' . $cite .
|
||||||
@ -2051,7 +2051,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 . '">' .
|
||||||
'>>>/' . $_board . '/' . $cite .
|
'>>>/' . $_board . '/' . $cite .
|
||||||
'</a>';
|
'</a>';
|
||||||
|
Loading…
Reference in New Issue
Block a user