summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorDan Jones <dan@danneh.org>2014-08-06 19:32:21 +0100
committerDan Jones <dan@danneh.org>2014-08-06 19:32:21 +0100
commit4bbea118c27f3ef7d088a5c38f7cdee16fa29eac (patch)
tree130c4fb11d3833210f8878317761fcc6cd4c70ac /apps/files_sharing/js
parenta72dae6842d6b550ccc8e8eb9a03f6911ae46d18 (diff)
downloadnextcloud-server-4bbea118c27f3ef7d088a5c38f7cdee16fa29eac.tar.gz
nextcloud-server-4bbea118c27f3ef7d088a5c38f7cdee16fa29eac.zip
fix tiny thumbnails in public preview/share mode
Diffstat (limited to 'apps/files_sharing/js')
-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(),