Merge "Update vector menu hide dropdown class to use BEMish convention."

This commit is contained in:
jenkins-bot 2021-08-24 15:54:03 +00:00 committed by Gerrit Code Review
commit af2a64d140
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
},
{
"resourceModule": "skins.vector.styles",
"maxSize": "9.6 kB"
"maxSize": "9.62 kB"
},
{
"resourceModule": "skins.vector.legacy.js",

View File

@ -29,7 +29,7 @@ function disableDropdownBehavior( pLangBtn ) {
if ( !pLangBtn ) {
return;
}
pLangBtn.classList.add( 'vector-menu--hide-dropdown' );
pLangBtn.classList.add( 'vector-menu-hide-dropdown' );
}
/**

View File

@ -86,7 +86,7 @@
// When the ext.uls.interface module is loaded, we hide the fallback menu and
// checkbox.
&.vector-menu--hide-dropdown {
&.vector-menu-hide-dropdown {
.vector-menu-checkbox,
.vector-menu-content {
display: none;

View File

@ -36,7 +36,7 @@ export const languageButtonWhenULSEnabled = () => wrapLanguageButton(
wrapLanguageButton(
wrapLanguageButton(
mustache.render( vectorMenuTemplate, languageData ),
'vector-menu--hide-dropdown'
'vector-menu-hide-dropdown'
),
CONTAINER_CLASS_MODERN_VECTOR
),