Parcourir la source

Add event to quote backlinks

pull/47/head^2
8chan czaks il y a 9 ans
Parent
révision
6dd1420f91
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      inc/functions.php

+ 2
- 2
inc/functions.php Voir le fichier

@@ -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>';


Chargement…
Annuler
Enregistrer