Merge pull request #653 from tsl0922/tsl0922-patch-1
authorHannu Nyman <hannu.nyman@iki.fi>
Mon, 29 Feb 2016 08:49:22 +0000 (10:49 +0200)
committerHannu Nyman <hannu.nyman@iki.fi>
Mon, 29 Feb 2016 08:49:22 +0000 (10:49 +0200)
luci-theme-material: remove the double slash (//) from menu url

themes/luci-theme-material/luasrc/view/themes/material/header.htm

index 0dc24aa..8419ade 100755 (executable)
                         %>
                         <li class="slide">
                                 <a class="menu" data-title="<%=pcdata(striptags(nnode.title))%>" href="#"><%=pcdata(striptags(translate(nnode.title)))%></a>
-                                <%- submenu("/" .. category .. "/" .. r .. "/", nnode) %>
+                                <%- submenu(category .. "/" .. r .. "/", nnode) %>
                         </li>
                         <%          else %>
                         <li>