mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-15 02:13:49 +00:00
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
This commit is contained in:
parent
cd9018dc05
commit
710d1f7cd4
|
@ -1,6 +1,6 @@
|
|||
<li class="toggle-list-item {{class}}">
|
||||
{{#components}}
|
||||
<a class="toggle-list-item__anchor {{class}}"{{#array-attributes}} {{key}}="{{value}}"{{/array-attributes}}>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue