From d16a745b86cb65e3cbe9bd2ac63c0dedda9d85f6 Mon Sep 17 00:00:00 2001 From: Shuanglei Tao <tsl0922@gmail.com> Date: Fri, 26 Feb 2016 00:38:22 +0800 Subject: luci-theme-material: remove the double slash (//) from menu url Signed-off-by: Shuanglei Tao <tsl0922@gmail.com> --- themes/luci-theme-material/luasrc/view/themes/material/header.htm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm index 0dc24aa5ff..8419ade76d 100755 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -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> -- cgit v1.2.3