diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-04-09 15:05:40 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-04-09 15:05:40 +0200 |
commit | d8f56e3c00e9cdba37b1155a4314398c7a124103 (patch) | |
tree | 1ee1ddc466aea18cfd977195be3cf70afa6c147c /apps/files/js/files.js | |
parent | b19671d204f5dd0f892c4bd35809ea8dd9eb65a7 (diff) | |
parent | d4f9cc567af69a52e5ac43f700d970b6ea4b77d0 (diff) | |
download | nextcloud-server-d8f56e3c00e9cdba37b1155a4314398c7a124103.tar.gz nextcloud-server-d8f56e3c00e9cdba37b1155a4314398c7a124103.zip |
Merge pull request #8049 from owncloud/filepickersvg
Fix file picker SVG issues
Diffstat (limited to 'apps/files/js/files.js')
-rw-r--r-- | apps/files/js/files.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/files.js b/apps/files/js/files.js index ceb096f0941..5b58cdcb1ba 100644 --- a/apps/files/js/files.js +++ b/apps/files/js/files.js @@ -635,7 +635,7 @@ Files.getMimeIcon = function(mime, ready) { ready(Files.getMimeIcon.cache[mime]); } else { $.get( OC.filePath('files','ajax','mimeicon.php'), {mime: mime}, function(path) { - if(SVGSupport()){ + if(OC.Util.hasSVGSupport()){ path = path.substr(0, path.length-4) + '.svg'; } Files.getMimeIcon.cache[mime]=path; |