From 7005bc7aaadde8c8e2d48d823a48027299ba843d Mon Sep 17 00:00:00 2001 From: Svjatoslav Agejenko Date: Sun, 21 Apr 2013 19:06:27 +0300 Subject: [PATCH] menu HTML layout fix --- .../eu/svjatoslav/commons/network/navigation/Navigation.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java b/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java index 3a07bbd..42720c9 100755 --- a/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java +++ b/src/main/java/eu/svjatoslav/commons/network/navigation/Navigation.java @@ -40,7 +40,8 @@ public class Navigation { result.append("
"); - for (final NavigationItem item : rootNavigationItem.getSubElements()) { + for (final NavigationItem item : getRootNavigationItem() + .getSubElements()) { if (item == selectedItem) result.append(""); - result.append(item.getTitle()); + result.append("
" + item.getTitle() + "
"); result.append("
"); } -- 2.20.1