diff options
author | Hannu Nyman <hannu.nyman@iki.fi> | 2016-02-29 10:49:22 +0200 |
---|---|---|
committer | Hannu Nyman <hannu.nyman@iki.fi> | 2016-02-29 10:49:22 +0200 |
commit | 5d8c579f7818daa69b973e8766d71ee12b7f36f4 (patch) | |
tree | 09a7b19b82d36a58edb4de7f7ccd1f02e9e511c1 | |
parent | f4a67353a78a4d0ed78683323a360da5f7f543a0 (diff) | |
parent | d16a745b86cb65e3cbe9bd2ac63c0dedda9d85f6 (diff) |
Merge pull request #653 from tsl0922/tsl0922-patch-1
luci-theme-material: remove the double slash (//) from menu url
-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> |