diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index 18f23724..68658e07 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -536,7 +536,7 @@ function updateTopClientsChart() { // Clear tables before filling them with data $("#client-frequency td").parent().remove(); var clienttable = $("#client-frequency").find("tbody:last"); - var client, percentage, clientname, clientip, idx; + var client, percentage, clientname, clientip, idx, url; for (client in data.top_sources) { if ({}.hasOwnProperty.call(data.top_sources, client)){ @@ -559,7 +559,7 @@ function updateTopClientsChart() { clientip = client; } - var url = ""+clientname+""; + url = ""+clientname+""; percentage = data.top_sources[client] / data.dns_queries_today * 100; clienttable.append("