mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-25 07:50:23 +01:00
Show backlinks on OP
This commit is contained in:
parent
cccc1bff79
commit
9dbc4e93be
@ -15,7 +15,7 @@
|
||||
|
||||
onready(function(){
|
||||
var showBackLinks = function() {
|
||||
var reply_id = $(this).attr('id').replace(/^reply_/, '');
|
||||
var reply_id = $(this).attr('id').replace(/^(reply|op)_/, '');
|
||||
|
||||
$(this).find('div.body a:not([rel="nofollow"])').each(function() {
|
||||
var id, post, $mentioned;
|
||||
@ -26,6 +26,9 @@ onready(function(){
|
||||
return;
|
||||
|
||||
$post = $('#reply_' + id);
|
||||
if($post.length == 0)
|
||||
$post = $('#op_' + id);
|
||||
|
||||
if($post.length == 0)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user