Fixed white nav bar showing up (#5539)

This commit is contained in:
MatteoBiscosi 2021-06-21 15:56:30 +02:00
parent ce0f434b84
commit 4cb20331c6

View file

@ -584,7 +584,7 @@ function page_utils.print_menubar()
local navbar_style = _POST["toggle_theme"] or ntop.getPref("ntopng.user." .. _SESSION["user"] .. ".theme")
if ((navbar_style == nil) or (navbar_style == "")) then
if ((navbar_style == nil) or (navbar_style == "white")) then
navbar_style = "default"
end