mirror of
https://github.com/pi-hole/web.git
synced 2026-05-03 07:02:09 +01:00
Minor change to comments
This commit is contained in:
@@ -264,7 +264,7 @@ function updateTopClientsChart() {
|
|||||||
// Sanitize client
|
// Sanitize client
|
||||||
if(escapeHtml(client) !== client)
|
if(escapeHtml(client) !== client)
|
||||||
{
|
{
|
||||||
// Make a copy with the escaped index
|
// Make a copy with the escaped index if necessary
|
||||||
data.top_sources[escapeHtml(client)] = data.top_sources[client];
|
data.top_sources[escapeHtml(client)] = data.top_sources[client];
|
||||||
}
|
}
|
||||||
client = escapeHtml(client);
|
client = escapeHtml(client);
|
||||||
@@ -314,7 +314,7 @@ function updateTopLists() {
|
|||||||
// Sanitize domain
|
// Sanitize domain
|
||||||
if(escapeHtml(domain) !== domain)
|
if(escapeHtml(domain) !== domain)
|
||||||
{
|
{
|
||||||
// Make a copy with the escaped index
|
// Make a copy with the escaped index if necessary
|
||||||
data.top_queries[escapeHtml(domain)] = data.top_queries[domain];
|
data.top_queries[escapeHtml(domain)] = data.top_queries[domain];
|
||||||
}
|
}
|
||||||
domain = escapeHtml(domain);
|
domain = escapeHtml(domain);
|
||||||
@@ -337,7 +337,7 @@ function updateTopLists() {
|
|||||||
// Sanitize domain
|
// Sanitize domain
|
||||||
if(escapeHtml(domain) !== domain)
|
if(escapeHtml(domain) !== domain)
|
||||||
{
|
{
|
||||||
// Make a copy with the escaped index
|
// Make a copy with the escaped index if necessary
|
||||||
data.top_ads[escapeHtml(domain)] = data.top_ads[domain];
|
data.top_ads[escapeHtml(domain)] = data.top_ads[domain];
|
||||||
}
|
}
|
||||||
domain = escapeHtml(domain);
|
domain = escapeHtml(domain);
|
||||||
|
|||||||
Reference in New Issue
Block a user