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 56cd1b681773d229d110159c172beb9048e151ac..6b831143161a435e5d6aeebe679da5c044e23ba8 100644 (file)
@@ -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 = {}