Don't query pihole if page is hidden anyhow

This commit is contained in:
DL6ER 2016-12-06 14:05:48 +01:00
parent 480211033d
commit 75deb02961

View file

@ -91,8 +91,10 @@ if($uri == "/")
// set white background
document.body.style.backgroundImage = "none";
}
$( "#btnSearch" ).click();
else
{
$( "#btnSearch" ).click();
}
// }
</script>
</body>