|
@ -28,16 +28,12 @@ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var selector = targetNum === targetOP |
|
|
var selector = targetNum === targetOP |
|
|
? '.op .body' |
|
|
? '#op_' + srcOP |
|
|
: '#reply_' + targetNum |
|
|
: '#reply_' + targetNum |
|
|
|
|
|
|
|
|
if (srcOP === targetOP) { |
|
|
if (srcOP === targetOP) { |
|
|
// XXX post hover adds fetched threads to the DOM
|
|
|
|
|
|
selector = '#thread_' + srcOP + ' ' + selector |
|
|
|
|
|
|
|
|
|
|
|
// bypass `(OP)`
|
|
|
|
|
|
if (targetNum === targetOP) |
|
|
if (targetNum === targetOP) |
|
|
link.node = link.node.next() |
|
|
link.node = link.node.next()// bypass `(OP)`
|
|
|
|
|
|
|
|
|
var $target = $(selector) |
|
|
var $target = $(selector) |
|
|
if ($target.length) |
|
|
if ($target.length) |
|
@ -78,7 +74,8 @@ |
|
|
'}' + |
|
|
'}' + |
|
|
'</style>') |
|
|
'</style>') |
|
|
|
|
|
|
|
|
$('.body a, .mentioned a') |
|
|
// don't attach to outbound links
|
|
|
|
|
|
$('.body a:not([rel]), .mentioned a') |
|
|
.attr('onclick', null)// XXX disable highlightReply
|
|
|
.attr('onclick', null)// XXX disable highlightReply
|
|
|
.click(inline) |
|
|
.click(inline) |
|
|
})() |
|
|
})() |
|
|