simplify catalog menu code
This commit is contained in:
parent
a94dd0c71f
commit
95352b5bac
@ -22,8 +22,7 @@ Menu =
|
||||
$.add @nodes.info, Menu.makeButton @
|
||||
|
||||
catalogNode: ->
|
||||
post = g.threads[@thread.fullID].OP
|
||||
$.after @nodes.icons, Menu.makeButton post
|
||||
$.after @nodes.icons, Menu.makeButton @thread.OP
|
||||
|
||||
makeButton: (post, button) ->
|
||||
button or= Menu.button.cloneNode true
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user