Use svg to png fallback on demand only

This commit is contained in:
Victor Dubiniuk 2013-06-28 23:18:11 +03:00
parent 6ecbae7da9
commit 13bfa3be27
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}