summaryrefslogtreecommitdiffhomepage
path: root/themes/openwrt.org/luasrc/view
diff options
context:
space:
mode:
Diffstat (limited to 'themes/openwrt.org/luasrc/view')
-rw-r--r--themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
index 56cd1b6817..6b83114316 100644
--- a/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
+++ b/themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm
@@ -94,7 +94,7 @@ end
<div id="mainmenu" class="mainmenu">
<%-
local function submenu(prefix, node)
- if not node.nodes and not node.hidden then
+ if not node.nodes or node.hidden then
return false
end
local index = {}