diff --git a/html/services.js b/html/services.js index aedeea3..3f16975 100644 --- a/html/services.js +++ b/html/services.js @@ -51,8 +51,12 @@ function displayServices(data) { $("#sntp-spinner").setAttribute("hidden", ""); $("#mdns-spinner").setAttribute("hidden", ""); - if (data.syslog_host !== undefined) + if (data.syslog_host !== undefined) { $("#Syslog-form").removeAttribute("hidden"); + } else { + # syslog disabled... + $("#Syslog-form").parentNode.setAttribute("hidden", ""); + } $("#SNTP-form").removeAttribute("hidden"); $("#mDNS-form").removeAttribute("hidden");