Fix menu being copied into post clones. #894
This commit is contained in:
parent
c4ad49e392
commit
0e6096130b
@ -19,7 +19,10 @@ Menu =
|
|||||||
|
|
||||||
node: ->
|
node: ->
|
||||||
if @isClone
|
if @isClone
|
||||||
Menu.makeButton @, $('.menu-button', @nodes.info)
|
button = $ '.menu-button', @nodes.info
|
||||||
|
$.rmClass button, 'active'
|
||||||
|
$.rm $('.dialog', button)
|
||||||
|
Menu.makeButton @, button
|
||||||
return
|
return
|
||||||
$.add @nodes.info, Menu.makeButton @
|
$.add @nodes.info, Menu.makeButton @
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user