summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
author8chan <admin@8chan.co>2015-02-18 16:55:03 -0800
committerczaks <marcin@6irc.net>2016-05-06 15:15:17 +0200
commit6dd1420f91410531bb2dac506f821d959bf74d0a (patch)
treec872bd404b379a7b02fa1cf39ca0152b600769f6 /inc/functions.php
parentce3ce4f1b65198083c232897c169313640f23038 (diff)
Add event to quote backlinks
Diffstat (limited to 'inc/functions.php')
-rwxr-xr-xinc/functions.php4
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 . '">' .
'&gt;&gt;' . $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 . '">' .
'&gt;&gt;&gt;/' . $_board . '/' . $cite .
'</a>';