mediawiki-skins-MinervaNeue/includes/Skins/menuGroup.mustache
Jon Robson 710d1f7cd4 Fixes markup for logout link
With AMC disabled, the logout link does not have the class
menu__item--logout - this breaks the behaviour of the logout
function which has JavaScript that manages a confirmation
workflow.

The issue is a typo - class is mapped to classes in
SingleMenuEntryItem::getComponents

Change-Id: I891ed700edadfad80888120c6e0666b6e7589377
2024-10-16 10:40:33 -07:00

9 lines
295 B
Plaintext

<li class="toggle-list-item {{class}}">
{{#components}}
<a class="toggle-list-item__anchor {{classes}}"{{#array-attributes}} {{key}}="{{value}}"{{/array-attributes}}>
{{#data-icon}}{{>Icon}}{{/data-icon}}
<span class="toggle-list-item__label">{{label}}</span>
</a>
{{/components}}
</li>