From 9009f5f727783a3520fa3bc605e9a149f63c3da4 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 18 Dec 2014 16:00:55 +0100 Subject: [PATCH] add empty alt text to decorative preview of public share image --- apps/files_sharing/js/public.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = $(''); + var img = $(''); 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');