mirror of
https://github.com/pi-hole/web.git
synced 2025-12-21 11:18:29 +00:00
Fix prefer-global-this error
Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
@@ -18,7 +18,7 @@ function redirect() {
|
||||
}
|
||||
|
||||
// Redirect to target
|
||||
window.location.replace(target);
|
||||
globalThis.location.replace(target);
|
||||
}
|
||||
|
||||
function wrongPassword(isError = false, isSuccess = false, data = null) {
|
||||
|
||||
Reference in New Issue
Block a user