mirror of
https://github.com/openwrt/luci.git
synced 2026-08-29 06:22:49 +04:00
luci-theme-material: remove the double slash (//) from menu url
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
This commit is contained in:
@@ -210,7 +210,7 @@
|
|||||||
%>
|
%>
|
||||||
<li class="slide">
|
<li class="slide">
|
||||||
<a class="menu" data-title="<%=pcdata(striptags(nnode.title))%>" href="#"><%=pcdata(striptags(translate(nnode.title)))%></a>
|
<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>
|
</li>
|
||||||
<% else %>
|
<% else %>
|
||||||
<li>
|
<li>
|
||||||
|
|||||||
Reference in New Issue
Block a user