summaryrefslogtreecommitdiffstats
path: root/apps/files/js
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-09-30 15:47:34 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-09-30 15:47:34 +0200
commit1d8c10cf638fb954d1cc20c47ad46e697a18e9e4 (patch)
tree5936d721dc868e799594978133e0bc63905b6413 /apps/files/js
parenteeac6e2ab17bb9bfd94c51e8e026daa25ef3a033 (diff)
parent1051a3c6f5891e703a15225e12bbb9417755a860 (diff)
downloadnextcloud-server-1d8c10cf638fb954d1cc20c47ad46e697a18e9e4.tar.gz
nextcloud-server-1d8c10cf638fb954d1cc20c47ad46e697a18e9e4.zip
Merge pull request #19468 from owncloud/fix-36-vs-32-previews
Change small thumbnails to 32 px
Diffstat (limited to 'apps/files/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 7a025e772c5..9c4e43b3b8b 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1411,10 +1411,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;