themes/bootstrap: fix highlight of active tabs
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 18 Nov 2012 16:30:42 +0000 (16:30 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 18 Nov 2012 16:30:42 +0000 (16:30 +0000)
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