]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix tiny thumbnails in public preview/share mode
authorDan Jones <dan@danneh.org>
Wed, 6 Aug 2014 18:32:21 +0000 (19:32 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 7 Aug 2014 12:31:14 +0000 (14:31 +0200)
apps/files_sharing/js/public.js

index 2c68f4407568defceb4bd22bbb1d1622b9df6500..1a2394f300ed309aa3bdfbdf379a91c43dc82f7d 100644 (file)
@@ -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(),