Make class attribute optional when empty
Change-Id: I5a9d81f650dfa4178e7b1e4e835ef5efb5acacf0
This commit is contained in:
parent
6ac9079202
commit
eabfe6d16e
|
@ -1,7 +1,7 @@
|
||||||
{{!
|
{{!
|
||||||
See @typedef MenuDefinition
|
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}}}>
|
{{{html-userlangattributes}}}>
|
||||||
{{#is-dropdown}}
|
{{#is-dropdown}}
|
||||||
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{label-id}}" />
|
<input type="checkbox" class="vectorMenuCheckbox" aria-labelledby="{{label-id}}" />
|
||||||
|
|
Loading…
Reference in New Issue