summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 16:33:41 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 16:33:41 +0200
commitdccb3ab5b2c8f8029823d20ee3e6dd14a5098d87 (patch)
treed32b109df4394a4ebaf7ddf023c67904db529a0e /apps
parent8110a3be699bbdea96df30472dce7862e0964901 (diff)
downloadnextcloud-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')
-rw-r--r--apps/files/js/breadcrumb.js5
-rw-r--r--apps/files_sharing/js/public.js2
2 files changed, 1 insertions, 6 deletions
diff --git a/apps/files/js/breadcrumb.js b/apps/files/js/breadcrumb.js
index 319425b67bd..e1193e79b28 100644
--- a/apps/files/js/breadcrumb.js
+++ b/apps/files/js/breadcrumb.js
@@ -178,11 +178,6 @@
$crumb.append(view.$el);
}, this);
- // in case svg is not supported by the browser we need to execute the fallback mechanism
- if (!OC.Util.hasSVGSupport()) {
- OC.Util.replaceSVG(this.$el);
- }
-
// setup drag and drop
if (this.onDrop) {
this.$el.find('.crumb:not(:last-child):not(.crumbmenu), .crumblist:not(:last-child)').droppable({
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');
}