luci-theme-material: remove the double slash (//) from menu url 653/head
authorShuanglei Tao <tsl0922@gmail.com>
Thu, 25 Feb 2016 16:38:22 +0000 (00:38 +0800)
committerShuanglei Tao <tsl0922@gmail.com>
Thu, 25 Feb 2016 16:40:46 +0000 (00:40 +0800)
Signed-off-by: Shuanglei Tao <tsl0922@gmail.com>
themes/luci-theme-material/luasrc/view/themes/material/header.htm

index 0dc24aa..8419ade 100755 (executable)
                         %>
                         <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>