luci-theme-material: remove the double slash (//) from menu url
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
This commit is contained in:
parent
55597da3a8
commit
d16a745b86
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@
|
|||
%>
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue