Merge "Make class attribute optional when empty"

This commit is contained in:
jenkins-bot 2020-05-18 22:39:48 +00:00 committed by Gerrit Code Review
commit 048dc5da93
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{{!
See @typedef MenuDefinition
}}
<div id="{{id}}" class="{{class}}" aria-labelledby="{{label-id}}" {{{html-tooltip}}}
<div id="{{id}}" {{#class}}class="{{.}}"{{/class}} aria-labelledby="{{label-id}}" {{{html-tooltip}}}
{{{html-userlangattributes}}}>
{{#is-dropdown}}
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{label-id}}" />