luci-theme-material: remove the double slash (//) from menu url
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 0dc24aa5ffc89c9da3d05cba3d6ec5f395b7e595..8419ade76d00052f850c217267f6fa66fc83b3dd 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>