Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 17:17:16 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2018-10-08 17:17:16 +0300
commitdd459bbb7aa296549e5ef7088480234b0be0c7e1 (patch)
treef136263714e41fc60fbe7e340d5d3ff4ae60bffe
parent8110a3be699bbdea96df30472dce7862e0964901 (diff)
Remove OC.scaleFixForIE8
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r--apps/files/js/mainfileinfodetailview.js1
-rw-r--r--apps/files/js/newfilemenu.js1
-rw-r--r--core/js/js.js11
3 files changed, 0 insertions, 13 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js
index 82860780d32..4a2067e09e5 100644
--- a/apps/files/js/mainfileinfodetailview.js
+++ b/apps/files/js/mainfileinfodetailview.js
@@ -187,7 +187,6 @@
} else {
var iconUrl = this.model.get('icon') || OC.MimeType.getIconUrl('dir');
$iconDiv.css('background-image', 'url("' + iconUrl + '")');
- OC.Util.scaleFixForIE8($iconDiv);
}
this.$el.find('[title]').tooltip({placement: 'bottom'});
} else {
diff --git a/apps/files/js/newfilemenu.js b/apps/files/js/newfilemenu.js
index 109a2fed67e..01a183a33a7 100644
--- a/apps/files/js/newfilemenu.js
+++ b/apps/files/js/newfilemenu.js
@@ -210,7 +210,6 @@
uploadLabel: t('files', 'Upload file'),
items: this._menuItems
}));
- OC.Util.scaleFixForIE8(this.$('.svg'));
// Trigger upload action also with keyboard navigation on enter
this.$el.find('[for="file_upload_start"]').on('keyup', function(event) {
diff --git a/core/js/js.js b/core/js/js.js
index 8e7796143d5..c95e6375c77 100644
--- a/core/js/js.js
+++ b/core/js/js.js
@@ -2010,17 +2010,6 @@ OC.Util = {
replaceSVG: function($el) {},
/**
- * Fix image scaling for IE8, since background-size is not supported.
- *
- * This scales the image to the element's actual size, the URL is
- * taken from the "background-image" CSS attribute.
- *
- * @deprecated IE8 isn't supported since 9.0
- * @param {Object} $el image element
- */
- scaleFixForIE8: function($el) {},
-
- /**
* Returns whether this is IE
*
* @return {bool} true if this is IE, false otherwise