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