Merge pull request #8647 from owncloud/public-image-scaling

Dont scale up the preview for publicly shared images
This commit is contained in:
Vincent Petry 2014-05-23 10:06:51 +02:00
commit 9c9644e646
1 changed files with 2 additions and 1 deletions

View File

@ -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">');