summaryrefslogtreecommitdiffstats
path: root/apps/files/js/files.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-04-09 15:05:40 +0200
committerMorris Jobke <hey@morrisjobke.de>2014-04-09 15:05:40 +0200
commitd8f56e3c00e9cdba37b1155a4314398c7a124103 (patch)
tree1ee1ddc466aea18cfd977195be3cf70afa6c147c /apps/files/js/files.js
parentb19671d204f5dd0f892c4bd35809ea8dd9eb65a7 (diff)
parentd4f9cc567af69a52e5ac43f700d970b6ea4b77d0 (diff)
downloadnextcloud-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.js2
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;