Forráskód Böngészése

removed title attr from home material small cards images

bach 2 éve
szülő
commit
35d5eeabdf

+ 1 - 1
web/themes/custom/materiotheme/templates/field/image--card-small-home.html.twig

@@ -17,4 +17,4 @@ set classes = [
 %}
 {# {% set attributes['data-src'] = attributes['src'] %}
 {% set attributes['src'] = '#' %} #}
-<img{{ attributes.addClass(classes) }} />
+<img{{ attributes.addClass(classes).removeAttribute('title') }} />