Reset showNavItem bool if fails check

This commit is contained in:
Alasdair Smith
2018-09-21 12:53:57 +01:00
parent 91ee445277
commit 945894e89e

View File

@@ -34,6 +34,8 @@ nav.navbar.navbar-default.navbar-main
|| (item.only_content_pages && (typeof(suppressNavContentLinks) == "undefined" || !suppressNavContentLinks))
){
var showNavItem = true
} else {
var showNavItem = false
}
if showNavItem