diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-08 16:33:41 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-10-08 16:33:41 +0200 |
commit | dccb3ab5b2c8f8029823d20ee3e6dd14a5098d87 (patch) | |
tree | d32b109df4394a4ebaf7ddf023c67904db529a0e /apps/files_sharing | |
parent | 8110a3be699bbdea96df30472dce7862e0964901 (diff) | |
download | nextcloud-server-dccb3ab5b2c8f8029823d20ee3e6dd14a5098d87.tar.gz nextcloud-server-dccb3ab5b2c8f8029823d20ee3e6dd14a5098d87.zip |
Remove deprecated SVG helpers for old IEs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/js/public.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 64ffe8bbf2e..3328b1663d1 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -168,7 +168,7 @@ OCA.Sharing.PublicApp = { img.attr('src', OC.generateUrl('/apps/files_sharing/publicpreview/' + token + '?' + OC.buildQueryString(params))); imgcontainer.appendTo('#imgframe'); } else if (mimetype.substr(0, mimetype.indexOf('/')) !== 'video') { - img.attr('src', OC.Util.replaceSVGIcon(mimetypeIcon)); + img.attr('src', mimetypeIcon); img.attr('width', 128); imgcontainer.appendTo('#imgframe'); } |