diff options
author | Ferdinand Thiessen <opensource@fthiessen.de> | 2025-01-22 02:20:10 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-22 02:20:10 +0100 |
commit | bf1050bc052bd59596085e42479276fff5539f9f (patch) | |
tree | eb091ba11fb6929e97258762e1eccf94a0fc6fd7 | |
parent | dc0c8689ec35661a235d11c376166fe6d3403535 (diff) | |
parent | 8fe217bafe05ba0fa7f0b4d7278301011e3c6cbc (diff) | |
download | nextcloud-server-bf1050bc052bd59596085e42479276fff5539f9f.tar.gz nextcloud-server-bf1050bc052bd59596085e42479276fff5539f9f.zip |
Merge pull request #50242 from nextcloud/backport/50237/stable29
[stable29] fix(files): Add empty alt text to purely decorative icons
-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> |