Move updates js to the footer to reduce noise

This commit is contained in:
Alfredo Cardigliano 2021-09-07 15:44:44 +02:00
parent 040dfcbbf8
commit bd7f390d02
3 changed files with 152 additions and 157 deletions

View file

@ -177,6 +177,15 @@ end
-- ##############################################
function hasSoftwareUpdatesSupport()
return (not ntop.isOffline()
and isAdministrator()
and ntop.isPackage()
and not ntop.isWindows())
end
-- ##############################################
-- Note that ifname can be set by Lua.cpp so don't touch it if already defined
if((ifname == nil) and (_GET ~= nil)) then
ifname = _GET["ifid"]