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:
authorVincent Petry <pvince81@owncloud.com>2015-09-29 19:15:15 +0300
committerVincent Petry <pvince81@owncloud.com>2015-09-29 19:28:31 +0300
commitdbb669246898c2a8bee22624df3a8816df8a0fcd (patch)
tree2b98d37e1d692d03c7ba5c83173bdb407b79666d /apps/files/js/mainfileinfodetailview.js
parent00623b1c73eccc4a30e21af0d35a2dd496653507 (diff)
[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.js2
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)
});
}