summaryrefslogtreecommitdiffstats
path: root/apps/files/js/filelist.js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-09-30 10:49:48 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-09-30 10:49:48 +0200
commit1051a3c6f5891e703a15225e12bbb9417755a860 (patch)
tree42309f8969042a29e2274e1b3d89da5a97dc322b /apps/files/js/filelist.js
parentdb79ba547aaf4e3c8ab732aece11f8d738ebad95 (diff)
downloadnextcloud-server-1051a3c6f5891e703a15225e12bbb9417755a860.tar.gz
nextcloud-server-1051a3c6f5891e703a15225e12bbb9417755a860.zip
Change small thumbnails to 32 px
* fixes #16913 * fixes issues in IE8 where the thumbnail is too big
Diffstat (limited to 'apps/files/js/filelist.js')
-rw-r--r--apps/files/js/filelist.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index b4cc71e2d3b..16aa643d11b 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1408,10 +1408,10 @@
generatePreviewUrl: function(urlSpec) {
urlSpec = urlSpec || {};
if (!urlSpec.x) {
- urlSpec.x = this.$table.data('preview-x') || 36;
+ urlSpec.x = this.$table.data('preview-x') || 32;
}
if (!urlSpec.y) {
- urlSpec.y = this.$table.data('preview-y') || 36;
+ urlSpec.y = this.$table.data('preview-y') || 32;
}
urlSpec.x *= window.devicePixelRatio;
urlSpec.y *= window.devicePixelRatio;