Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed img/app.png
Binary file not shown.
Binary file removed img/dateasc.png
Binary file not shown.
Binary file removed img/datedes.png
Binary file not shown.
Binary file removed img/folder.png
Binary file not shown.
Binary file removed img/gallery-dark.png
Binary file not shown.
Binary file removed img/nameasc.png
Binary file not shown.
Binary file removed img/namedes.png
Binary file not shown.
Binary file removed img/toggle.png
Binary file not shown.
5 changes: 0 additions & 5 deletions js/slideshow.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
7 changes: 1 addition & 6 deletions js/thumbnail.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand All @@ -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;
},

Expand Down