fix
This commit is contained in:
parent
ee4716b048
commit
26e343d02a
@ -17,7 +17,8 @@
|
|||||||
: '#reply_' + postNum + ' .body'
|
: '#reply_' + postNum + ' .body'
|
||||||
|
|
||||||
var node = this.className
|
var node = this.className
|
||||||
? $root.find('.body').first().children().first()
|
// XXX post hover element is added to the quoting post
|
||||||
|
? $root.find('> .body, > .inline').first()
|
||||||
: this.nextSibling
|
: this.nextSibling
|
||||||
|
|
||||||
var link = {
|
var link = {
|
||||||
@ -27,7 +28,7 @@
|
|||||||
|
|
||||||
var OP = $('input[name="thread"]').val()
|
var OP = $('input[name="thread"]').val()
|
||||||
if (OP === postOP) {
|
if (OP === postOP) {
|
||||||
// XXX WTF the post hover script adds fetched threads to the DOM
|
// XXX post hover adds fetched threads to the DOM
|
||||||
selector = '#thread_' + OP + ' ' + selector
|
selector = '#thread_' + OP + ' ' + selector
|
||||||
var $target = $(selector)
|
var $target = $(selector)
|
||||||
return add(link, $target)
|
return add(link, $target)
|
||||||
@ -66,7 +67,6 @@
|
|||||||
'</style>')
|
'</style>')
|
||||||
|
|
||||||
$('.body a, .mentioned a')
|
$('.body a, .mentioned a')
|
||||||
.attr('onclick', null)// disable highlightReply. so hacky
|
.attr('onclick', null)// XXX disable highlightReply
|
||||||
.click(inline)
|
.click(inline)
|
||||||
|
|
||||||
})()
|
})()
|
||||||
|
Loading…
Reference in New Issue
Block a user