diff --git a/js/pihole/index.js b/js/pihole/index.js index 944062c0..91609ef9 100644 --- a/js/pihole/index.js +++ b/js/pihole/index.js @@ -295,10 +295,12 @@ function updateTopClientsChart() { for (domain in data.top_sources) { // Sanitize domain domain = escapeHtml(domain); + var url = ""+domain+""; + percentage = data.top_sources[domain] / data.dns_queries_today * 100; clienttable.append("