summaryrefslogtreecommitdiff
path: root/js/inline.js
diff options
context:
space:
mode:
authorJames Campos <james.r.campos@gmail.com>2014-09-23 21:40:32 -0700
committerczaks <marcin@6irc.net>2014-10-07 03:27:33 +0200
commit274ac0965a6085c009fccbde1e427746d8ff4501 (patch)
treea2826e2651608695a51eb2b51d4f83317ef2ed9b /js/inline.js
parent3de119e41750c065cebffefc216e56d339bbbc1c (diff)
get op from input value
Diffstat (limited to 'js/inline.js')
-rw-r--r--js/inline.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/inline.js b/js/inline.js
index 6b373dce..863aefbb 100644
--- a/js/inline.js
+++ b/js/inline.js
@@ -8,7 +8,7 @@
if ($clone.length)
return $clone.remove()
- var OP = location.pathname.match(/(\d+).html/)[1]
+ var OP = $('input[name="thread"]').val()
var selector = postNum === OP
? '.op .body'
: '#reply_' + postNum + ' .body'