1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00

get op from input value

This commit is contained in:
James Campos 2014-09-23 21:40:32 -07:00 committed by czaks
parent 3de119e417
commit 274ac0965a

View File

@ -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'