diff --git a/scripts/pi-hole/js/debug.js b/scripts/pi-hole/js/debug.js index 501aad13..bf5609d1 100644 --- a/scripts/pi-hole/js/debug.js +++ b/scripts/pi-hole/js/debug.js @@ -29,6 +29,7 @@ function eventsource() { return; } + // eslint-disable-next-line compat/compat var source = new EventSource("scripts/pi-hole/php/debug.php?&token=" + token + "&" + checked); // Reset and show field diff --git a/scripts/pi-hole/js/gravity.js b/scripts/pi-hole/js/gravity.js index 3c9dbbcc..04d08619 100644 --- a/scripts/pi-hole/js/gravity.js +++ b/scripts/pi-hole/js/gravity.js @@ -17,6 +17,7 @@ function eventsource() { return; } + // eslint-disable-next-line compat/compat var source = new EventSource("scripts/pi-hole/php/gravity.sh.php"); ta.html(""); diff --git a/scripts/pi-hole/js/queryads.js b/scripts/pi-hole/js/queryads.js index 2c2db313..6fb340c7 100644 --- a/scripts/pi-hole/js/queryads.js +++ b/scripts/pi-hole/js/queryads.js @@ -52,6 +52,7 @@ function eventsource() { return; } + // eslint-disable-next-line compat/compat var source = new EventSource( "scripts/pi-hole/php/queryads.php?domain=" + domain.toLowerCase() + "&" + exact );