Commit 50038705 authored by Clement Ho's avatar Clement Ho

Fix loading icon in activity view

parent 881d980a
...@@ -60,7 +60,7 @@ module IconsHelper ...@@ -60,7 +60,7 @@ module IconsHelper
def spinner(text = nil, visible = false) def spinner(text = nil, visible = false)
css_class = 'loading' css_class = 'loading'
css_class << ' hidden' unless visible css_class << ' hide' unless visible
content_tag :div, class: css_class do content_tag :div, class: css_class do
icon('spinner spin') + text icon('spinner spin') + text
......
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