mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-11 07:26:10 +00:00
Merge "fix double id="p-variants""
This commit is contained in:
commit
042bf26957
|
@ -45,7 +45,7 @@ class VectorComponentVariants implements VectorComponent {
|
||||||
*/
|
*/
|
||||||
private function getDropdownData() {
|
private function getDropdownData() {
|
||||||
$dropdown = new VectorComponentDropdown(
|
$dropdown = new VectorComponentDropdown(
|
||||||
$this->menuData[ 'id' ],
|
'vector-variants-dropdown',
|
||||||
$this->getDropdownLabel(),
|
$this->getDropdownLabel(),
|
||||||
// Hide dropdown if menu is empty
|
// Hide dropdown if menu is empty
|
||||||
$this->menuData[ 'is-empty' ] ? 'emptyPortlet' : ''
|
$this->menuData[ 'is-empty' ] ? 'emptyPortlet' : ''
|
||||||
|
|
Loading…
Reference in a new issue