add empty alt text to decorative preview of public share image

This commit is contained in:
Jan-Christoph Borchardt 2014-12-18 16:00:55 +01:00
parent bfee3eefbd
commit 9009f5f727
1 changed files with 1 additions and 1 deletions

View File

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