mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-16 04:19:07 +00:00
Don't query pihole if page is hidden anyhow
This commit is contained in:
parent
480211033d
commit
75deb02961
1 changed files with 4 additions and 2 deletions
|
@ -91,8 +91,10 @@ if($uri == "/")
|
||||||
// set white background
|
// set white background
|
||||||
document.body.style.backgroundImage = "none";
|
document.body.style.backgroundImage = "none";
|
||||||
}
|
}
|
||||||
|
else
|
||||||
$( "#btnSearch" ).click();
|
{
|
||||||
|
$( "#btnSearch" ).click();
|
||||||
|
}
|
||||||
// }
|
// }
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Add table
Reference in a new issue