themes/bootstrap: fix highlight of active tabs
[project/luci.git] / themes / bootstrap / luasrc / view / themes / bootstrap / header.htm
index 33e2e48d29ec2dfbb8308229eb17028e4a643d1f..1d23877664dab3880c2bade27e5fc016fc7e9cc3 100644 (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