aboutsummaryrefslogtreecommitdiffstats
path: root/settings/js
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-06-28 23:18:11 +0300
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-06-28 23:18:11 +0300
commit13bfa3be279f8af0ac1ced1ede0273d019105f93 (patch)
tree0b30750931597f3b4c88c07f410a655115b9c49e /settings/js
parent6ecbae7da94fcd53c16a07ad68bc31700bd1189b (diff)
downloadnextcloud-server-13bfa3be279f8af0ac1ced1ede0273d019105f93.tar.gz
nextcloud-server-13bfa3be279f8af0ac1ced1ede0273d019105f93.zip
Use svg to png fallback on demand only
Diffstat (limited to 'settings/js')
-rw-r--r--settings/js/apps.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/apps.js b/settings/js/apps.js
index 4d03a86ac65..1ee3372f893 100644
--- a/settings/js/apps.js
+++ b/settings/js/apps.js
@@ -153,7 +153,7 @@ OC.Settings.Apps = OC.Settings.Apps || {
a.prepend(img);
li.append(a);
container.append(li);
- if (entry.icon.match(/\.svg$/i)) {
+ if (!SVGSupport() && entry.icon.match(/\.svg$/i)) {
$(img).addClass('svg');
replaceSVG();
}