Use post info already parsed. #2282

This commit is contained in:
ccd0 2019-07-07 11:16:10 -07:00
parent 4a491a52bb
commit 71fb054ec2

View File

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