mirror of
https://github.com/pi-hole/web.git
synced 2026-04-23 02:09:58 +01: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:
@@ -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
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user