diff options
-rw-r--r-- | views/default/navigation/menu/elements/item.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/navigation/menu/elements/item.php b/views/default/navigation/menu/elements/item.php index f3e46315b..5d6a7e367 100644 --- a/views/default/navigation/menu/elements/item.php +++ b/views/default/navigation/menu/elements/item.php @@ -16,8 +16,8 @@ if ($item->getSelected()) { $children = $item->getChildren(); if ($children) { - $item->setLinkClass($link_class); - $item->setLinkClass('elgg-menu-parent'); + $item->addLinkClass($link_class); + $item->addLinkClass('elgg-menu-parent'); } $item_class = $item->getItemClass(); |