diff --git a/scripts/pi-hole/js/db_lists.js b/scripts/pi-hole/js/db_lists.js
index 6db4417b..0a18a4e7 100644
--- a/scripts/pi-hole/js/db_lists.js
+++ b/scripts/pi-hole/js/db_lists.js
@@ -66,6 +66,8 @@ function escapeHtml(text) {
return map[m];
});
}
+var blockedColor = $(".queries-blocked").css("background-color");
+var permittedColor = $(".queries-permitted").css("background-color");
function updateTopClientsChart() {
$("#client-frequency .overlay").show();
@@ -154,7 +156,7 @@ function updateTopDomainsChart() {
percentage.toFixed(1) +
"% of " +
sum +
- '">
'
);
@@ -201,7 +203,7 @@ function updateTopAdsChart() {
percentage.toFixed(1) +
"% of " +
sum +
- '">
'
);