aboutsummaryrefslogtreecommitdiff
path: root/views/default/navigation
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-06-28 06:37:11 -0400
committerCash Costello <cash.costello@gmail.com>2011-06-28 06:37:11 -0400
commit525041047efb6b8b2c912b3ed1d71089a809976e (patch)
tree6e82361791c516b5f4cd8b1304e808ed082b7a6e /views/default/navigation
parent20755678375665aae3f7e7827dd80e1c2b5fafa3 (diff)
downloadelgg-525041047efb6b8b2c912b3ed1d71089a809976e.tar.gz
elgg-525041047efb6b8b2c912b3ed1d71089a809976e.tar.bz2
updated the menu item view to work with the new setLinkClass/addLinkClass methods
Diffstat (limited to 'views/default/navigation')
-rw-r--r--views/default/navigation/menu/elements/item.php4
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();