summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/inline.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/js/inline.js b/js/inline.js
index 0b7a47a0..b83a5ae6 100644
--- a/js/inline.js
+++ b/js/inline.js
@@ -34,8 +34,10 @@
if (srcOP === targetOP) {
// XXX post hover adds fetched threads to the DOM
selector = '#thread_' + srcOP + ' ' + selector
- // XXX bypass the `(OP)` text
- link.node = link.node.next()
+
+ // bypass `(OP)`
+ if (targetNum === targetOP)
+ link.node = link.node.next()
var $target = $(selector)
if ($target.length)