themes/bootstrap: fix highlight of active tabs

This commit is contained in:
Jo-Philipp Wich 2012-11-18 16:30:42 +00:00
parent 74a140e4b4
commit ec940ec352

View file

@ -79,7 +79,7 @@ You may obtain a copy of the License at
end
if level > 2 then
%>
<li class="tabmenu-item-<%=v%><%- if nnode._menu_selected or (node.leaf and v == leaf) then -%> active<% end %>">
<li class="tabmenu-item-<%=v%><%- if nnode._menu_selected or (node.leaf and v == leaf) then %> active<% end %>">
<a href="<%=nodeurl(prefix, v, nnode.query)%>"><%=striptags(translate(nnode.title))%></a>
</li>
<% end