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

get op from input value

This commit is contained in:
James Campos 2014-09-23 21:40:32 -07:00
parent a7820579eb
commit cdae08027c

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'