From 5e9ba7d1fcf5d86d9006e10b163764d86b431838 Mon Sep 17 00:00:00 2001 From: Dylan Sealy <66305635+DylanSealy@users.noreply.github.com> Date: Thu, 28 Oct 2021 23:04:25 +0200 Subject: [PATCH 1/2] Added missing blocked boolean in queries.js Signed-off-by: Dylan Sealy <66305635+DylanSealy@users.noreply.github.com> --- scripts/pi-hole/js/queries.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index 54945189..dece415a 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -183,11 +183,10 @@ $(function () { case "10": fieldtext = "Blocked (regex blacklist, CNAME)"; - + blocked = true; if (data.length > 9 && data[9] > 0) { regexLink = true; } - buttontext = ''; isCNAME = true; From dcdad3e606eb40687ace7647b4c17fc81405ec28 Mon Sep 17 00:00:00 2001 From: Dylan Sealy <66305635+DylanSealy@users.noreply.github.com> Date: Fri, 29 Oct 2021 15:00:47 +0200 Subject: [PATCH 2/2] Readded blank line Signed-off-by: Dylan Sealy <66305635+DylanSealy@users.noreply.github.com> --- scripts/pi-hole/js/queries.js | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js index dece415a..7507e46d 100644 --- a/scripts/pi-hole/js/queries.js +++ b/scripts/pi-hole/js/queries.js @@ -187,6 +187,7 @@ $(function () { if (data.length > 9 && data[9] > 0) { regexLink = true; } + buttontext = ''; isCNAME = true;