Fixed javascript runtime error of no icon name is given.
This commit is contained in:
parent
16795605e4
commit
711a704602
1 changed files with 2 additions and 0 deletions
|
@ -829,6 +829,8 @@ class App.Utils
|
||||||
num
|
num
|
||||||
|
|
||||||
@icon: (name, className = '') ->
|
@icon: (name, className = '') ->
|
||||||
|
return if !name
|
||||||
|
|
||||||
# rtl support
|
# rtl support
|
||||||
# ===========
|
# ===========
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in a new issue