diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-01-17 15:42:15 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-01-17 18:01:03 +0000 |
commit | 8fe217bafe05ba0fa7f0b4d7278301011e3c6cbc (patch) | |
tree | a10ed8c8ae1137a181ca6c58b5e78ae73923b23d /apps/files_sharing | |
parent | 7499fa937bbb3dca18d1eab8d109d41fc6449f30 (diff) | |
download | nextcloud-server-backport/50237/stable29.tar.gz nextcloud-server-backport/50237/stable29.zip |
fix(files): Add empty alt text to purely decorative iconsbackport/50237/stable29
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r-- | apps/files_sharing/js/templates.js | 4 | ||||
-rw-r--r-- | apps/files_sharing/js/templates/files_drop.handlebars | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/js/templates.js b/apps/files_sharing/js/templates.js index 07fd6ad6c42..b0fd74b8c02 100644 --- a/apps/files_sharing/js/templates.js +++ b/apps/files_sharing/js/templates.js @@ -21,8 +21,8 @@ templates['files_drop'] = template({"1":function(container,depth0,helpers,partia return " <img src=\"" + alias4(((helper = (helper = lookupProperty(helpers,"iconSrc") || (depth0 != null ? lookupProperty(depth0,"iconSrc") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"iconSrc","hash":{},"data":data,"loc":{"start":{"line":6,"column":12},"end":{"line":6,"column":23}}}) : helper))) - + "\"/> " - + alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":6,"column":27},"end":{"line":6,"column":35}}}) : helper))) + + "\" alt=\"\" /> " + + alias4(((helper = (helper = lookupProperty(helpers,"name") || (depth0 != null ? lookupProperty(depth0,"name") : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data,"loc":{"start":{"line":6,"column":35},"end":{"line":6,"column":43}}}) : helper))) + "\n"; },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) { var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.hooks.helperMissing, alias3="function", alias4=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) { diff --git a/apps/files_sharing/js/templates/files_drop.handlebars b/apps/files_sharing/js/templates/files_drop.handlebars index 4128c920cb9..6c9ac101dae 100644 --- a/apps/files_sharing/js/templates/files_drop.handlebars +++ b/apps/files_sharing/js/templates/files_drop.handlebars @@ -3,6 +3,6 @@ <div id="drop-upload-name">{{name}}</div><div id="drop-upload-status"></div> <progress id="drop-upload-progress-bar" value="0" max="100"></progress> {{else}} - <img src="{{iconSrc}}"/> {{name}} + <img src="{{iconSrc}}" alt="" /> {{name}} {{/if}} </li> |