From dbd1e5449231c09cd0ac255fbafab767788aee8f Mon Sep 17 00:00:00 2001 From: AndrejGajdos <Andrej1> Date: Thu, 28 Jul 2016 13:50:07 +0200 Subject: [PATCH] responsive menu fix responsive menu fix - data-target attribute added --- src/main/webapp/WEB-INF/tags/menu.tag | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/webapp/WEB-INF/tags/menu.tag b/src/main/webapp/WEB-INF/tags/menu.tag index f7e8652..6afb0f3 100644 --- a/src/main/webapp/WEB-INF/tags/menu.tag +++ b/src/main/webapp/WEB-INF/tags/menu.tag @@ -8,14 +8,14 @@ <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="<spring:url value="/" htmlEscape="true" />"><span></span></a> - <button type="button" class="navbar-toggle" data-toggle="collapse"> + <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar"> <span class="sr-only"><os-p>Toggle navigation</os-p></span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> </div> - <div class="navbar-collapse collapse"> + <div class="navbar-collapse collapse" id="main-navbar"> <ul class="nav navbar-nav navbar-right"> <petclinic:menuItem active="${name eq 'home'}" url="/" title="home page"> -- GitLab