From 9ea5ff610e38f3c390cb19bec86ee5b1ab57d187 Mon Sep 17 00:00:00 2001 From: James Campos Date: Fri, 3 Oct 2014 13:08:50 -0700 Subject: [PATCH] bypass (OP) text --- js/inline.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/inline.js b/js/inline.js index 26b13f91..0ea7f233 100644 --- a/js/inline.js +++ b/js/inline.js @@ -18,7 +18,7 @@ var node = this.className ? $root.find('> .intro') - : this + : $(this) var link = { node: node, @@ -29,6 +29,8 @@ if (OP === postOP) { // XXX post hover adds fetched threads to the DOM selector = '#thread_' + OP + ' ' + selector + // XXX bypass the `(OP)` text + link.node = link.node.next() var $target = $(selector) return add(link, $target) }