mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-01-11 14:34:44 +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
|
||||
document.body.style.backgroundImage = "none";
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
$( "#btnSearch" ).click();
|
||||
}
|
||||
// }
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Reference in a new issue