mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-14 11:15:33 +00:00
d1c0e6cd6f
The languages alert is misleading when there are no languages and the user has JS disabled. This change adds a class to the alert if there are 0 languages, and then adds "display: none" to the alert if the client-nojs class is present. This is the same approach being used for the language switcher button. Bug: T326185 Change-Id: Iee292d661ed1f47700f588053712f5f547022b17 |
||
---|---|---|
.. | ||
VectorComponent.php | ||
VectorComponentButton.php | ||
VectorComponentDropdown.php | ||
VectorComponentLanguageDropdown.php | ||
VectorComponentLink.php | ||
VectorComponentMainMenu.php | ||
VectorComponentMainMenuAction.php | ||
VectorComponentMainMenuActionLanguageSwitchAlert.php | ||
VectorComponentMainMenuActionOptOut.php | ||
VectorComponentMenu.php | ||
VectorComponentMenuListItem.php | ||
VectorComponentMenuVariants.php | ||
VectorComponentPageTools.php | ||
VectorComponentPinnableContainer.php | ||
VectorComponentPinnableElement.php | ||
VectorComponentPinnableHeader.php | ||
VectorComponentSearchBox.php | ||
VectorComponentStickyHeader.php | ||
VectorComponentTableOfContents.php | ||
VectorComponentUserLinks.php |