summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Campos <james.r.campos@gmail.com>2014-09-24 12:37:25 -0700
committerczaks <marcin@6irc.net>2014-10-07 03:27:34 +0200
commit51a74bbd73f82418370176a9bb6190fb3c1b9da4 (patch)
tree1428ebd9d443a4d3e8750a5c6ff84caea729024c
parent67d3449998cda1a981a841fce989f59936aaa8d1 (diff)
fix selector
-rw-r--r--js/inline.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/js/inline.js b/js/inline.js
index 6334e60e..e93df2b6 100644
--- a/js/inline.js
+++ b/js/inline.js
@@ -20,6 +20,8 @@
var OP = $('input[name="thread"]').val()
if (OP === postOP) {
+ // XXX WTF the post hover script adds fetched threads to the DOM
+ selector = '#thread_' + OP + ' ' + selector
var $target = $(selector)
add(link, $target)
}