diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/project/widgets/number/number.coffee | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/project/widgets/number/number.coffee b/templates/project/widgets/number/number.coffee index c288dd7..3ada5a6 100644 --- a/templates/project/widgets/number/number.coffee +++ b/templates/project/widgets/number/number.coffee @@ -17,4 +17,4 @@ class Dashing.Number extends Dashing.Widget onData: (data) -> if data.status - $(@get('node')).addClass("status-#{data.status}") + $(@get('node')).removeClass("status-danger status-warning").addClass("status-#{data.status}") |