Skip to content

Commit 3a11976

Browse files
authored
5.20.1 (#2598)
2 parents 40bb0a3 + 6964e8c commit 3a11976

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/pi-hole/js/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -532,12 +532,12 @@ function updateTopClientsChart() {
532532

533533
client = utils.escapeHtml(client);
534534
if (client.indexOf("|") === -1) {
535+
clientname = client;
536+
clientip = client;
537+
} else {
535538
idx = client.indexOf("|");
536539
clientname = client.substr(0, idx);
537540
clientip = client.substr(idx + 1, client.length - idx);
538-
} else {
539-
clientname = client;
540-
clientip = client;
541541
}
542542

543543
url =

0 commit comments

Comments
 (0)