From 288e771d1ef7fb919bbbe78c8cc2bee1bb7a9b06 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Sat, 19 Nov 2016 22:10:32 +0100 Subject: [PATCH] Minor bugfix: Also show success if the pi-hole is disabled during the update of the lists. --- js/pihole/gravity.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/pihole/gravity.js b/js/pihole/gravity.js index aa5772b3..04691c1c 100644 --- a/js/pihole/gravity.js +++ b/js/pihole/gravity.js @@ -8,7 +8,7 @@ function eventsourcetest() { alSuccess.hide(); source.addEventListener("message", function(e) { - if(e.data.indexOf("Pi-hole blocking is Enabled") !== -1) + if(e.data.indexOf("Pi-hole blocking is") !== -1) { alSuccess.show(); }