diff options
author | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-06-29 00:18:11 +0400 |
---|---|---|
committer | Victor Dubiniuk <victor.dubiniuk@gmail.com> | 2013-07-02 00:12:22 +0400 |
commit | 73ac5c68a6799871be887d9f4ef65c138efceaab (patch) | |
tree | a09797deafe6ca4ddc917d0f9322f8e05091ee16 /settings | |
parent | 511a806f4e34f27fa86818b47eced794f47c97fe (diff) |
Use svg to png fallback on demand only
Diffstat (limited to 'settings')
-rw-r--r-- | settings/js/apps.js | 2 |
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(); } |