diff options
| author | 8chan <admin@8chan.co> | 2015-02-18 16:55:03 -0800 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2016-05-06 15:15:17 +0200 |
| commit | 6dd1420f91410531bb2dac506f821d959bf74d0a (patch) | |
| tree | c872bd404b379a7b02fa1cf39ca0152b600769f6 /inc/functions.php | |
| parent | ce3ce4f1b65198083c232897c169313640f23038 (diff) | |
Add event to quote backlinks
Diffstat (limited to 'inc/functions.php')
| -rwxr-xr-x | inc/functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/functions.php b/inc/functions.php index 6a34e7a8..8f650828 100755 --- a/inc/functions.php +++ b/inc/functions.php @@ -1952,7 +1952,7 @@ function markup(&$body, $track_cites = false, $op = false) { } 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'] . link_for(array('id' => $cite, 'thread' => $cited_posts[$cite])) . '#' . $cite . '">' . '>>' . $cite . @@ -2051,7 +2051,7 @@ function markup(&$body, $track_cites = false, $op = false) { $replacement = '<a ' . ($_board == $board['uri'] ? - 'onclick="highlightReply(\''.$cite.'\');" ' + 'onclick="highlightReply(\''.$cite.'\', event);" ' : '') . 'href="' . $link . '">' . '>>>/' . $_board . '/' . $cite . '</a>'; |
