diff options
| author | James Campos <james.r.campos@gmail.com> | 2014-09-23 21:40:32 -0700 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2014-10-07 03:27:33 +0200 |
| commit | 274ac0965a6085c009fccbde1e427746d8ff4501 (patch) | |
| tree | a2826e2651608695a51eb2b51d4f83317ef2ed9b /js | |
| parent | 3de119e41750c065cebffefc216e56d339bbbc1c (diff) | |
get op from input value
Diffstat (limited to 'js')
| -rw-r--r-- | js/inline.js | 2 |
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' |
