mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 07:13:23 -04:00
Fix action share icon markup
Expanded the empty span tag to resolve issue with wrong appending done by either handlebars or jquery. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
parent
a2bd8ca820
commit
ba8b55f4d6
2 changed files with 2 additions and 2 deletions
|
|
@ -103,7 +103,7 @@ templates['file_action_trigger'] = template({"1":function(container,depth0,helpe
|
|||
|
||||
return " <span class=\"icon "
|
||||
+ container.escapeExpression(((helper = (helper = lookupProperty(helpers,"iconClass") || (depth0 != null ? lookupProperty(depth0,"iconClass") : depth0)) != null ? helper : container.hooks.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"iconClass","hash":{},"data":data,"loc":{"start":{"line":6,"column":21},"end":{"line":6,"column":34}}}) : helper)))
|
||||
+ "\" />\n";
|
||||
+ "\"></span>\n";
|
||||
},"6":function(container,depth0,helpers,partials,data) {
|
||||
var helper, lookupProperty = container.lookupProperty || function(parent, propertyName) {
|
||||
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
<img class="svg" alt="{{altText}}" src="{{icon}}" />
|
||||
{{else}}
|
||||
{{#if iconClass}}
|
||||
<span class="icon {{iconClass}}" />
|
||||
<span class="icon {{iconClass}}"></span>
|
||||
{{/if}}
|
||||
{{#unless hasDisplayName}}
|
||||
<span class="hidden-visually">{{altText}}</span>
|
||||
|
|
|
|||
Loading…
Reference in a new issue