diff --git a/scripts/pi-hole/js/queryads.js b/scripts/pi-hole/js/queryads.js index 6bf5e469..0786ada8 100644 --- a/scripts/pi-hole/js/queryads.js +++ b/scripts/pi-hole/js/queryads.js @@ -62,7 +62,7 @@ function eventsource() { if(q.val() === "yes") { quiet = true; - exact = "&exact"; + exact = "exact"; } // IE does not support EventSource - load whole content at once @@ -72,7 +72,7 @@ function eventsource() { } var host = window.location.host; - var source = new EventSource("/admin/scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+exact); + var source = new EventSource("/admin/scripts/pi-hole/php/queryads.php?domain="+domain.val().toLowerCase()+"&"+exact); // Reset and show field ta.empty();