MDL-60373 core: Do not show title if there is no title

This commit is contained in:
Andrew Nicols 2017-10-09 11:38:00 +08:00
parent d8e9a23c48
commit bf02f2e91c

View file

@ -43,7 +43,7 @@
}}
{{^unmappedIcon}}
<i class="icon fa {{key}} fa-fw {{extraclasses}}" aria-hidden="true" title="{{title}}" aria-label="{{alt}}"></i>
<i class="icon fa {{key}} fa-fw {{extraclasses}}" aria-hidden="true" {{#title}}title="{{title}}"{{/title}} aria-label="{{alt}}"></i>
{{/unmappedIcon}}
{{#unmappedIcon}}
{{! We cannot include the pix_icon template directly here because we don't have all the mustache helpers loaded. }}