mirror of
https://github.com/pi-hole/web.git
synced 2025-12-20 02:38:28 +00:00
Fix prefer-global-this error
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -79,7 +79,7 @@ function getData() {
|
||||
|
||||
var GETDict = utils.parseQueryString();
|
||||
if (!("file" in GETDict)) {
|
||||
window.location.href += "?file=dnsmasq";
|
||||
globalThis.location.href += "?file=dnsmasq";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user