Merge pull request #10223 from dannosaur/patch-1
fix tiny thumbnails in public preview/share mode
This commit is contained in:
commit
9e6b65fabe
|
@ -73,6 +73,7 @@ OCA.Sharing.PublicApp = {
|
||||||
|
|
||||||
var params = {
|
var params = {
|
||||||
x: $(document).width() * window.devicePixelRatio,
|
x: $(document).width() * window.devicePixelRatio,
|
||||||
|
y: $(document).height() * window.devicePixelRatio,
|
||||||
a: 'true',
|
a: 'true',
|
||||||
file: encodeURIComponent(this.initialDir + $('#filename').val()),
|
file: encodeURIComponent(this.initialDir + $('#filename').val()),
|
||||||
t: $('#sharingToken').val(),
|
t: $('#sharingToken').val(),
|
||||||
|
|
Loading…
Reference in New Issue