Commit 43601418 authored by Michael Friedrich's avatar Michael Friedrich
Browse files

Use font-awesome icons in number widget

parent dfce237e
......@@ -13,7 +13,7 @@ class Dashing.Number extends Dashing.Widget
@accessor 'arrow', ->
if @get('last')
if parseInt(@get('current')) > parseInt(@get('last')) then 'icon-arrow-up' else 'icon-arrow-down'
if parseInt(@get('current')) > parseInt(@get('last')) then 'fa fa-arrow-up' else 'fa fa-arrow-down'
onData: (data) ->
if data.status
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment