mirror of
https://github.com/pi-hole/web.git
synced 2025-12-24 12:48:29 +00:00
Ignore the EventSource() errors
We have code checking for the presence of this, so it's OK to ignore these errors. Signed-off-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
@@ -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("");
|
||||
|
||||
Reference in New Issue
Block a user