Use svg to png fallback on demand only
This commit is contained in:
parent
6ecbae7da9
commit
13bfa3be27
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue