mirror of
https://github.com/pi-hole/web.git
synced 2026-04-27 04:04:00 +01:00
Changes to formatting only (no functional changes)
Issues identified by codacy *Multiple spaces removed *piholeChanged defined before use *curly brackets after if conditions *lonely if converted to else if Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
@@ -59,7 +59,7 @@ function updateTopClientsChart() {
|
||||
|
||||
// Clear tables before filling them with data
|
||||
$("#client-frequency td").parent().remove();
|
||||
var clienttable = $("#client-frequency").find("tbody:last");
|
||||
var clienttable = $("#client-frequency").find("tbody:last");
|
||||
var client, percentage, clientname, clientip;
|
||||
var sum = 0;
|
||||
for (client in data.top_sources) {
|
||||
@@ -113,7 +113,7 @@ function updateTopDomainsChart() {
|
||||
|
||||
// Clear tables before filling them with data
|
||||
$("#domain-frequency td").parent().remove();
|
||||
var domaintable = $("#domain-frequency").find("tbody:last");
|
||||
var domaintable = $("#domain-frequency").find("tbody:last");
|
||||
var domain, percentage;
|
||||
var sum = 0;
|
||||
for (domain in data.top_domains) {
|
||||
@@ -155,7 +155,7 @@ function updateTopAdsChart() {
|
||||
|
||||
// Clear tables before filling them with data
|
||||
$("#ad-frequency td").parent().remove();
|
||||
var adtable = $("#ad-frequency").find("tbody:last");
|
||||
var adtable = $("#ad-frequency").find("tbody:last");
|
||||
var ad, percentage;
|
||||
var sum = 0;
|
||||
for (ad in data.top_ads) {
|
||||
|
||||
Reference in New Issue
Block a user