summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-05-20 13:45:14 +0200
committerRobin Appelman <icewind@owncloud.com>2014-05-22 16:45:51 +0200
commit157b139b577a6a89fa734ba4c0ab91e6e80286e4 (patch)
tree227ef0c597081d0b6dbc76d6eb4b09c444abe44d /apps/files_sharing
parent050df76830f05e25df0c298988658c9482fb4b87 (diff)
downloadnextcloud-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.js3
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">');