diff options
| author | James Campos <james.r.campos@gmail.com> | 2014-10-03 09:17:19 -0700 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-07 03:27:34 +0200 |
| commit | 26e343d02affb6291226baec587123f6a61e236a (patch) | |
| tree | 924db8727e441640757d199e87692df5a4e4ee93 /js | |
| parent | ee4716b0481cfb2495eab931b3cac115e7f5d912 (diff) | |
fix
Diffstat (limited to 'js')
| -rw-r--r-- | js/inline.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/inline.js b/js/inline.js index df91c8a9..ff897ca3 100644 --- a/js/inline.js +++ b/js/inline.js @@ -17,7 +17,8 @@ : '#reply_' + postNum + ' .body' 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 var link = { @@ -27,7 +28,7 @@ var OP = $('input[name="thread"]').val() 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 var $target = $(selector) return add(link, $target) @@ -66,7 +67,6 @@ '</style>') $('.body a, .mentioned a') - .attr('onclick', null)// disable highlightReply. so hacky + .attr('onclick', null)// XXX disable highlightReply .click(inline) - })() |
