summaryrefslogtreecommitdiffstats
path: root/settings/js/apps.js
diff options
context:
space:
mode:
Diffstat (limited to 'settings/js/apps.js')
-rw-r--r--settings/js/apps.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index bdeddfb84c2..4d03a86ac65 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -147,12 +147,16 @@ OC.Settings.Apps = OC.Settings.Apps || {
li.attr('data-id', entry.id);
var img= $('<img class="icon"/>').attr({ src: entry.icon});
var a=$('<a></a>').attr('href', entry.href);
- var filename=$('<span></span>')
+ var filename=$('<span></span>');
filename.text(entry.name);
a.prepend(filename);
a.prepend(img);
li.append(a);
container.append(li);
+ if (entry.icon.match(/\.svg$/i)) {
+ $(img).addClass('svg');
+ replaceSVG();
+ }
}
}
}