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(); }