diff options
author | Piotr Filiciak <piotr@filiciak.pl> | 2016-05-24 12:43:43 +0200 |
---|---|---|
committer | Piotr Filiciak <piotr@filiciak.pl> | 2016-05-24 12:43:43 +0200 |
commit | df59c5d1ee5810293e3c7a6a63f00f0e94126c03 (patch) | |
tree | 0d6836675a4ed1575f840e0f70c200f5e2ea060b /apps/files_sharing | |
parent | 11b2e98a30da1cc97d82739600da53fcef765c3f (diff) | |
download | nextcloud-server-df59c5d1ee5810293e3c7a6a63f00f0e94126c03.tar.gz nextcloud-server-df59c5d1ee5810293e3c7a6a63f00f0e94126c03.zip |
bug fix
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/js/public.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js index 46d4ee2d594..572ccc47b71 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -149,7 +149,7 @@ OCA.Sharing.PublicApp = { img.attr('width', 128); img.appendTo('#imgframe'); } - else { + else if (previewSupported === 'true') { $('#imgframe > video').attr('poster', OC.filePath('files_sharing', 'ajax', 'publicpreview.php') + '?' + OC.buildQueryString(params)); } |