diff --git a/img/app.png b/img/app.png deleted file mode 100644 index 171af526e9..0000000000 Binary files a/img/app.png and /dev/null differ diff --git a/img/dateasc.png b/img/dateasc.png deleted file mode 100644 index aefd392f80..0000000000 Binary files a/img/dateasc.png and /dev/null differ diff --git a/img/datedes.png b/img/datedes.png deleted file mode 100644 index 916b73842b..0000000000 Binary files a/img/datedes.png and /dev/null differ diff --git a/img/folder.png b/img/folder.png deleted file mode 100644 index 49598f4fa3..0000000000 Binary files a/img/folder.png and /dev/null differ diff --git a/img/gallery-dark.png b/img/gallery-dark.png deleted file mode 100644 index 1e9dbb57c7..0000000000 Binary files a/img/gallery-dark.png and /dev/null differ diff --git a/img/nameasc.png b/img/nameasc.png deleted file mode 100644 index 524602ca50..0000000000 Binary files a/img/nameasc.png and /dev/null differ diff --git a/img/namedes.png b/img/namedes.png deleted file mode 100644 index 725ade088c..0000000000 Binary files a/img/namedes.png and /dev/null differ diff --git a/img/toggle.png b/img/toggle.png deleted file mode 100644 index 10735dff97..0000000000 Binary files a/img/toggle.png and /dev/null differ diff --git a/js/slideshow.js b/js/slideshow.js index d135390bf2..2373a32a3e 100644 --- a/js/slideshow.js +++ b/js/slideshow.js @@ -52,11 +52,6 @@ this._initControlsAutoFader(); - // Replace all Owncloud svg images with png images for ancient browsers - if (!OC.Util.hasSVGSupport()) { - OC.Util.replaceSVG(this.$el); - } - // Only modern browsers can manipulate history if (history && history.pushState) { // Stop the slideshow when backing out. diff --git a/js/thumbnail.js b/js/thumbnail.js index 03da6ff353..b3ec401a9b 100644 --- a/js/thumbnail.js +++ b/js/thumbnail.js @@ -157,9 +157,7 @@ function Thumbnail (fileId, square) { }, /** - * Returns the link to the media type icon - * - * Modern browsers get an SVG, older ones a PNG + * Returns the link to the SVG media type icon * * @param mimeType * @@ -168,9 +166,6 @@ function Thumbnail (fileId, square) { */ _getMimeIcon: function (mimeType) { var icon = OC.MimeType.getIconUrl(mimeType); - if (Gallery.ieVersion !== false) { - icon = icon.substr(0, icon.lastIndexOf(".")) + ".png"; - } return icon; },