diff --git a/includes/SkinVector.php b/includes/SkinVector.php index e789486c4..5b1d76767 100644 --- a/includes/SkinVector.php +++ b/includes/SkinVector.php @@ -753,10 +753,10 @@ abstract class SkinVector extends SkinMustache { int $type = self::MENU_TYPE_DEFAULT ) { $extraClasses = [ - self::MENU_TYPE_DROPDOWN => 'vector-menu vector-menu-dropdown', - self::MENU_TYPE_TABS => 'vector-menu vector-menu-tabs', - self::MENU_TYPE_PORTAL => 'vector-menu vector-menu-portal portal', - self::MENU_TYPE_DEFAULT => 'vector-menu', + self::MENU_TYPE_DROPDOWN => 'vector-menu-dropdown', + self::MENU_TYPE_TABS => 'vector-menu-tabs', + self::MENU_TYPE_PORTAL => 'vector-menu-portal portal', + self::MENU_TYPE_DEFAULT => '', ]; if ( $this->isLegacy() ) { $extraClasses[self::MENU_TYPE_TABS] .= ' vector-menu-tabs-legacy'; diff --git a/includes/templates/LegacyMenu.mustache b/includes/templates/LegacyMenu.mustache index c6d714213..5d7edd089 100644 --- a/includes/templates/LegacyMenu.mustache +++ b/includes/templates/LegacyMenu.mustache @@ -3,14 +3,14 @@ }} {{! `role` is unnecessary but kept to support selectors in any gadgets or user styles. }} -