Browse Source

Remove OC.scaleFixForIE8

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
tags/v15.0.0beta1
Christoph Wurst 5 years ago
parent
commit
dd459bbb7a
No account linked to committer's email address
3 changed files with 0 additions and 13 deletions
  1. 0
    1
      apps/files/js/mainfileinfodetailview.js
  2. 0
    1
      apps/files/js/newfilemenu.js
  3. 0
    11
      core/js/js.js

+ 0
- 1
apps/files/js/mainfileinfodetailview.js View File

@@ -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 {

+ 0
- 1
apps/files/js/newfilemenu.js View File

@@ -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) {

+ 0
- 11
core/js/js.js View File

@@ -2009,17 +2009,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
*

Loading…
Cancel
Save