From ff29a440b594fb12e4c87f3540d6858a1d6df232 Mon Sep 17 00:00:00 2001 From: Rob Gill Date: Fri, 10 Aug 2018 13:39:14 +1000 Subject: [PATCH] Double quotes. i <3 codacy-bot Signed-Off-By: Rob Gill --- 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 c0ac108d..5584737c 100644 --- a/scripts/pi-hole/js/index.js +++ b/scripts/pi-hole/js/index.js @@ -82,7 +82,7 @@ var customTooltips = function(tooltip) { var span = ""; var num = body[0].split(": "); // remove percent symbol from amount to allow numeric comparison - var number = num[1].replace(/%/i,''); + var number = num[1].replace(/%/i,""); if(number > 0) { innerHtml += "" + span + body + "";