This commit is contained in:
Scott Erickson 2014-03-03 17:15:54 -08:00
commit 1f091b93b8

View file

@ -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