mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-12-02 19:26:51 +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