aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/public.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 16:00:55 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 16:00:55 +0100
commit9009f5f727783a3520fa3bc605e9a149f63c3da4 (patch)
tree259bbf78b33b17b7f4f25e109c41f2984e7480ab /apps/files_sharing/js/public.js
parentbfee3eefbdf73fdaf82d6754b730aa603b78200d (diff)
downloadnextcloud-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.js2
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');