diff options
author | Robin Appelman <icewind@owncloud.com> | 2014-05-20 13:45:14 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2014-05-22 16:45:51 +0200 |
commit | 157b139b577a6a89fa734ba4c0ab91e6e80286e4 (patch) | |
tree | 227ef0c597081d0b6dbc76d6eb4b09c444abe44d /apps/files_sharing | |
parent | 050df76830f05e25df0c298988658c9482fb4b87 (diff) | |
download | nextcloud-server-157b139b577a6a89fa734ba4c0ab91e6e80286e4.tar.gz nextcloud-server-157b139b577a6a89fa734ba4c0ab91e6e80286e4.zip |
Dont scale up the preview for publicly shared images
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/js/public.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index ce9a212499a..d825ee9de15 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -59,7 +59,8 @@ OCA.Sharing.PublicApp = { x: $(document).width() * window.devicePixelRatio, a: 'true', file: encodeURIComponent(this.initialDir + $('#filename').val()), - t: $('#sharingToken').val() + t: $('#sharingToken').val(), + scalingup: 0 }; var img = $('<img class="publicpreview">'); |