From 13bfa3be279f8af0ac1ced1ede0273d019105f93 Mon Sep 17 00:00:00 2001
From: Victor Dubiniuk <victor.dubiniuk@gmail.com>
Date: Fri, 28 Jun 2013 23:18:11 +0300
Subject: [PATCH] Use svg to png fallback on demand only

---
 settings/js/apps.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/settings/js/apps.js b/settings/js/apps.js
index 4d03a86ac6..1ee3372f89 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();
 						}
-- 
GitLab