Fixed last commit
authorSteven Barth <steven@midlink.org>
Tue, 12 Aug 2008 17:32:09 +0000 (17:32 +0000)
committerSteven Barth <steven@midlink.org>
Tue, 12 Aug 2008 17:32:09 +0000 (17:32 +0000)
themes/openwrt.org/luasrc/view/themes/openwrt.org/header.htm

index 56cd1b6..6b83114 100644 (file)
@@ -94,7 +94,7 @@ end
        <div id="mainmenu" class="mainmenu">
 <%-
 local function submenu(prefix, node)
        <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 = {}
                return false
        end
        local index = {}