From 4cc917dd91c62f9313fc24e34db30886aa349e6c Mon Sep 17 00:00:00 2001 From: DL6ER Date: Wed, 22 Feb 2017 15:07:02 +0100 Subject: [PATCH] Codacy --- scripts/pi-hole/js/debug.js | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/scripts/pi-hole/js/debug.js b/scripts/pi-hole/js/debug.js index 15a2521b..dbdadb79 100644 --- a/scripts/pi-hole/js/debug.js +++ b/scripts/pi-hole/js/debug.js @@ -1,5 +1,5 @@ // Credit: http://stackoverflow.com/a/10642418/2087442 -function httpGet(ta,quiet,theUrl) +function httpGet(ta,theUrl) { var xmlhttp; if (window.XMLHttpRequest) @@ -18,14 +18,7 @@ function httpGet(ta,quiet,theUrl) { ta.show(); ta.empty(); - if(!quiet) - { - ta.append(xmlhttp.responseText); - } - else - { - quietfilter(ta,xmlhttp.responseText); - } + ta.append(xmlhttp.responseText); } }; xmlhttp.open("GET", theUrl, false);