do not clone opened menu

This commit is contained in:
noface 2020-10-28 23:16:37 +01:00
parent 7742edd22c
commit 52b22f7e0b

View File

@ -21,7 +21,7 @@ Menu =
if @isClone
button = $ '.menu-button', @nodes.info
$.rmClass button, 'active'
$.rm $('.dialog', button)
$.rm $('.dialog', @nodes.info)
Menu.makeButton @, button
return
$.add @nodes.info, Menu.makeButton @