summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/luasrc
diff options
context:
space:
mode:
authorShuanglei Tao <tsl0922@gmail.com>2016-02-26 00:38:22 +0800
committerShuanglei Tao <tsl0922@gmail.com>2016-02-26 00:40:46 +0800
commitd16a745b86cb65e3cbe9bd2ac63c0dedda9d85f6 (patch)
treeafd294ddc73776d03bbfd3094799b7d14a700f01 /themes/luci-theme-material/luasrc
parent55597da3a8540d19b34bf25ccf08d70e759013ab (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-xthemes/luci-theme-material/luasrc/view/themes/material/header.htm2
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 0dc24aa5f..8419ade76 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>