Merge "[cleanup] Drop empty `class` attribute from `#footer > ul` elements"
This commit is contained in:
commit
1a62d2d264
|
@ -243,7 +243,7 @@ class VectorTemplate extends BaseTemplate {
|
||||||
|
|
||||||
$footerRows[] = [
|
$footerRows[] = [
|
||||||
'id' => $rowId,
|
'id' => $rowId,
|
||||||
'className' => '',
|
'className' => null,
|
||||||
'array-items' => $items
|
'array-items' => $items
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
{{{html-hook-vector-before-footer}}}
|
{{{html-hook-vector-before-footer}}}
|
||||||
<div id="footer" class="mw-footer" role="contentinfo" {{{html-userlangattributes}}}>
|
<div id="footer" class="mw-footer" role="contentinfo" {{{html-userlangattributes}}}>
|
||||||
{{#array-footer-rows}}
|
{{#array-footer-rows}}
|
||||||
<ul id="{{id}}" class="{{className}}">
|
<ul id="{{id}}" {{#className}}class="{{.}}"{{/className}}>
|
||||||
{{#array-items}}
|
{{#array-items}}
|
||||||
<li id="{{id}}">{{{html}}}</li>
|
<li id="{{id}}">{{{html}}}</li>
|
||||||
{{/array-items}}
|
{{/array-items}}
|
||||||
|
|
Loading…
Reference in New Issue