summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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 56cd1b681..6b8311431 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 = {}