From ef6a740370d79612b5de88b338ab35d8d50609fc Mon Sep 17 00:00:00 2001
From: dnhp <34394848+dnhp@users.noreply.github.com>
Date: Tue, 1 Dec 2020 12:04:16 +0000
Subject: [PATCH] Fix issue 1643 - quote numbers in switch case
Signed-off-by: dnhp <34394848+dnhp@users.noreply.github.com>
---
scripts/pi-hole/js/queries.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/pi-hole/js/queries.js b/scripts/pi-hole/js/queries.js
index 25d70867..88779797 100644
--- a/scripts/pi-hole/js/queries.js
+++ b/scripts/pi-hole/js/queries.js
@@ -185,12 +185,12 @@ $(function () {
'';
isCNAME = true;
break;
- case 12:
+ case "12":
colorClass = "text-green";
fieldtext = "Retried";
buttontext = "";
break;
- case 13:
+ case "13":
colorClass = "text-green";
fieldtext = "Retried
(ignored)";
buttontext = "";