mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
add empty alt text to decorative preview of public share image
This commit is contained in:
parent
bfee3eefbd
commit
9009f5f727
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in a new issue