Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-06-29 00:18:11 +0400
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>2013-06-29 00:18:11 +0400
commit13bfa3be279f8af0ac1ced1ede0273d019105f93 (patch)
tree0b30750931597f3b4c88c07f410a655115b9c49e /settings/js
parent6ecbae7da94fcd53c16a07ad68bc31700bd1189b (diff)
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();
}