From 3364f989cfa51bc2eefdf142b58591d6d8c2a17c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 21 Apr 2017 15:50:30 +0200 Subject: [PATCH] Don't show IP addresses in addition to hostnames of forward destinations to save some space in the legend --- scripts/pi-hole/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/js/index.js b/scripts/pi-hole/js/index.js index ade3c365..b725a2c5 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -166,7 +166,7 @@ function updateForwardedOverTime() { if(key.indexOf("|") > -1) { var idx = key.indexOf("|"); - key = key.substr(0, idx)+" ("+key.substr(idx+1, key.length-idx)+")"; + key = key.substr(0, idx); } labels.push(key); }