diff options
author | David Heidelberger <david.heidelberger@ixit.cz> | 2014-10-10 21:28:47 +0200 |
---|---|---|
committer | David Heidelberger <david.heidelberger@ixit.cz> | 2014-10-10 21:28:47 +0200 |
commit | 65dbd8527d628a5f76319bbfb0d13fc8a009840b (patch) | |
tree | 0cce71d5304a516cc70fdf01faf59b5ac4aad1f0 | |
parent | bb388f0873b5f9b88c45af5c7d35e9eb9f4ac8ac (diff) |
themes/bootstrap: make theme usable on touchscreen
When using this theme on touchscreen, after selecting menu it won't
allow me select submenu selection. It directly start loading menu
section (unnecessary, because it's always first link in subsection).
It work only at moment, when you are really fast, which is annoying.
Signed-off-by: David Heidelberger <david.heidelberger@ixit.cz>
-rw-r--r-- | themes/bootstrap/luasrc/view/themes/bootstrap/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm index a49b7d4072..12818cbc5f 100644 --- a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -154,7 +154,7 @@ You may obtain a copy of the License at if #grandchildren > 0 then %> <li class="dropdown"> - <a class="menu" href="<%=pcdata(href)%>"><%=pcdata(striptags(translate(nnode.title)))%></a> + <a class="menu" href="#"><%=pcdata(striptags(translate(nnode.title)))%></a> <%- submenu("/" .. category .. "/" .. r .. "/", nnode) %> </li> <% else %> |