diff options
author | Vincent Petry <pvince81@owncloud.com> | 2015-09-29 18:15:15 +0200 |
---|---|---|
committer | Vincent Petry <pvince81@owncloud.com> | 2015-09-29 18:28:31 +0200 |
commit | dbb669246898c2a8bee22624df3a8816df8a0fcd (patch) | |
tree | 2b98d37e1d692d03c7ba5c83173bdb407b79666d /apps/files/js/mainfileinfodetailview.js | |
parent | 00623b1c73eccc4a30e21af0d35a2dd496653507 (diff) | |
download | nextcloud-server-dbb669246898c2a8bee22624df3a8816df8a0fcd.tar.gz nextcloud-server-dbb669246898c2a8bee22624df3a8816df8a0fcd.zip |
[IE8] Fix filetype icon sizes
Added hack that uses a "filter" CSS with explicit URL to fix the "New"
menu by scaling down icons and also fix the folder/filetype icon in the sidebar
by scaling it up.
Diffstat (limited to 'apps/files/js/mainfileinfodetailview.js')
-rw-r--r-- | apps/files/js/mainfileinfodetailview.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js index 82cca0d0fb3..bdec9c08509 100644 --- a/apps/files/js/mainfileinfodetailview.js +++ b/apps/files/js/mainfileinfodetailview.js @@ -131,6 +131,7 @@ } else { // TODO: special icons / shared / external $iconDiv.css('background-image', 'url("' + OC.MimeType.getIconUrl('dir') + '")'); + OC.Util.scaleFixForIE8($iconDiv); } this.$el.find('[title]').tooltip({placement: 'bottom'}); } else { @@ -193,6 +194,7 @@ $iconDiv.css({ 'background-image': 'url("' + $iconDiv.previewImg + '")' }); + OC.Util.scaleFixForIE8($iconDiv); }.bind(this) }); } |