summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-08-07 12:36:57 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-08-07 12:36:57 +0200
commit9e6b65fabe959706cca4342d650dc1a028d06ac3 (patch)
tree87d52bc82e7f7e304e7a3fc8857186a57bd62741 /apps
parent8b2fe69bb20b07a02311d49e96fd2ddb48961fef (diff)
parent4bbea118c27f3ef7d088a5c38f7cdee16fa29eac (diff)
downloadnextcloud-server-9e6b65fabe959706cca4342d650dc1a028d06ac3.tar.gz
nextcloud-server-9e6b65fabe959706cca4342d650dc1a028d06ac3.zip
Merge pull request #10223 from dannosaur/patch-1
fix tiny thumbnails in public preview/share mode
Diffstat (limited to 'apps')
-rw-r--r--apps/files_sharing/js/public.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 2c68f440756..1a2394f300e 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -73,6 +73,7 @@ OCA.Sharing.PublicApp = {
var params = {
x: $(document).width() * window.devicePixelRatio,
+ y: $(document).height() * window.devicePixelRatio,
a: 'true',
file: encodeURIComponent(this.initialDir + $('#filename').val()),
t: $('#sharingToken').val(),