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-07-02 00:12:22 +0400
commit73ac5c68a6799871be887d9f4ef65c138efceaab (patch)
treea09797deafe6ca4ddc917d0f9322f8e05091ee16 /settings
parent511a806f4e34f27fa86818b47eced794f47c97fe (diff)
Use svg to png fallback on demand only
Diffstat (limited to 'settings')
-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 346598a7651..1e16954b5ac 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();
}