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 33e2e48..1d23877 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