diff options
author | Shuanglei Tao <tsl0922@gmail.com> | 2016-02-26 00:38:22 +0800 |
---|---|---|
committer | Shuanglei Tao <tsl0922@gmail.com> | 2016-02-26 00:40:46 +0800 |
commit | d16a745b86cb65e3cbe9bd2ac63c0dedda9d85f6 (patch) | |
tree | afd294ddc73776d03bbfd3094799b7d14a700f01 /themes/luci-theme-material/luasrc | |
parent | 55597da3a8540d19b34bf25ccf08d70e759013ab (diff) |
luci-theme-material: remove the double slash (//) from menu url
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
Diffstat (limited to 'themes/luci-theme-material/luasrc')
-rwxr-xr-x | themes/luci-theme-material/luasrc/view/themes/material/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
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> |