Use post info already parsed. #2282
This commit is contained in:
parent
4a491a52bb
commit
71fb054ec2
@ -21,7 +21,7 @@ PostJumper =
|
||||
PostJumper.addButtons @,'capcode'
|
||||
|
||||
addButtons: (post,type) ->
|
||||
value = post.nodes[type].innerText
|
||||
value = post.info[type]
|
||||
buttons = PostJumper.buttons.cloneNode(true)
|
||||
$.extend buttons.dataset, {type, value}
|
||||
$.after post.nodes[type+(if type is 'capcode' then '' else 'Root')], buttons
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user