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:
parent
3de119e417
commit
274ac0965a
@ -8,7 +8,7 @@
|
|||||||
if ($clone.length)
|
if ($clone.length)
|
||||||
return $clone.remove()
|
return $clone.remove()
|
||||||
|
|
||||||
var OP = location.pathname.match(/(\d+).html/)[1]
|
var OP = $('input[name="thread"]').val()
|
||||||
var selector = postNum === OP
|
var selector = postNum === OP
|
||||||
? '.op .body'
|
? '.op .body'
|
||||||
: '#reply_' + postNum + ' .body'
|
: '#reply_' + postNum + ' .body'
|
||||||
|
Loading…
Reference in New Issue
Block a user