icon fallback

This commit is contained in:
j 2021-06-15 20:58:52 +01:00
parent cb42e1d7fa
commit c4413d9fd7

View file

@ -88,6 +88,7 @@ Ox.UI.getImageURL = Ox.cache(function(name, color, theme) {
color = color || 'default'; color = color || 'default';
theme = theme || Ox.Theme(); theme = theme || Ox.Theme();
themeData = Ox.Theme.getThemeData(theme); themeData = Ox.Theme.getThemeData(theme);
image = image || Ox.UI.IMAGES['symbolHelp']
if (type == 'symbol') { if (type == 'symbol') {
if (Ox.isString(color)) { if (Ox.isString(color)) {
colorName = color; colorName = color;