diff --git a/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/navbar/Navbar.java b/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/navbar/Navbar.java index 0739f01a5..1a9ecf301 100644 --- a/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/navbar/Navbar.java +++ b/bootstrap-core/src/main/java/de/agilecoders/wicket/core/markup/html/bootstrap/navbar/Navbar.java @@ -293,7 +293,7 @@ protected void populateItem(ListItem components) { Activatable activatable = (Activatable) component; if (activatable.isActive(component)) { - components.add(activeStateAppender); + component.add(activeStateAppender); } }