diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 16:00:55 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 16:00:55 +0100 |
commit | 9009f5f727783a3520fa3bc605e9a149f63c3da4 (patch) | |
tree | 259bbf78b33b17b7f4f25e109c41f2984e7480ab /apps/files_sharing/js/public.js | |
parent | bfee3eefbdf73fdaf82d6754b730aa603b78200d (diff) | |
download | nextcloud-server-9009f5f727783a3520fa3bc605e9a149f63c3da4.tar.gz nextcloud-server-9009f5f727783a3520fa3bc605e9a149f63c3da4.zip |
add empty alt text to decorative preview of public share image
Diffstat (limited to 'apps/files_sharing/js/public.js')
-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 2ddcd84d4c1..861da2065ea 100644 --- a/apps/files_sharing/js/public.js +++ b/apps/files_sharing/js/public.js @@ -96,7 +96,7 @@ OCA.Sharing.PublicApp = { scalingup: 0 }; - var img = $('<img class="publicpreview">'); + var img = $('<img class="publicpreview" alt="">'); if (previewSupported === 'true' || mimetype.substr(0, mimetype.indexOf('/')) === 'image' && mimetype !== 'image/svg+xml') { img.attr('src', OC.filePath('files_sharing', 'ajax', 'publicpreview.php') + '?' + OC.buildQueryString(params)); img.appendTo('#imgframe'); |