mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Enable VisualEnhancementNext
Additional changes: * More defensively check for link-class which may or may not exist on menu items Bug: T320101 Change-Id: Ifbd913c82933d9a8cc276d070b2b3f3ebb77c9c1
This commit is contained in:
parent
1657cbc6bd
commit
5205378a8e
|
@ -344,7 +344,7 @@ class Hooks implements
|
|||
$content_navigation[$overflow][$key] = $data;
|
||||
$icon = $data['icon'] ?? null;
|
||||
if ( $visualEnhancements && $icon ) {
|
||||
$linkClass = $content_navigation[$overflow][$key]['link-class'];
|
||||
$linkClass = $content_navigation[$overflow][$key]['link-class'] ?? [];
|
||||
$item = $content_navigation[$overflow][$key];
|
||||
$newLinkClass = [
|
||||
// Allows Echo to react to clicks
|
||||
|
|
Loading…
Reference in a new issue