mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-14 07:00:01 -04:00
Fixed actions showing up under dialogue bubbles on repeated toggling.
This commit is contained in:
parent
1b257252f9
commit
65d9186ef1
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ module.exports = class HUDView extends View
|
|||
createActions: ->
|
||||
actions = @$el.find('.thang-actions tbody').empty()
|
||||
showActions = @thang.world and not _.isEmpty(@thang.actions) and 'action' in @thang.hudProperties ? []
|
||||
@$el.find('.thang-actions').toggle showActions
|
||||
@$el.find('.thang-actions').toggleClass 'secret', showActions
|
||||
return unless showActions
|
||||
@buildActionTimespans()
|
||||
for actionName, action of @thang.actions
|
||||
|
|
Loading…
Reference in a new issue