Update vector menu hide dropdown class to use BEMish convention.
- Keep double-dash class name for cached HTML. - Update instances of renamed class in less + js. Bug: T253671 Change-Id: Ieb1ce630e8fa84167e2ca8497f66a20183fdaf90
This commit is contained in:
parent
d6778948da
commit
129bf5c350
|
@ -5,7 +5,7 @@
|
|||
},
|
||||
{
|
||||
"resourceModule": "skins.vector.styles",
|
||||
"maxSize": "9.6 kB"
|
||||
"maxSize": "9.62 kB"
|
||||
},
|
||||
{
|
||||
"resourceModule": "skins.vector.legacy.js",
|
||||
|
|
|
@ -29,7 +29,7 @@ function disableDropdownBehavior( pLangBtn ) {
|
|||
if ( !pLangBtn ) {
|
||||
return;
|
||||
}
|
||||
pLangBtn.classList.add( 'vector-menu--hide-dropdown' );
|
||||
pLangBtn.classList.add( 'vector-menu-hide-dropdown' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue