mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-13 10:59:06 +00:00
Minor change
This commit is contained in:
parent
75deb02961
commit
505c9e8979
1 changed files with 4 additions and 2 deletions
|
@ -86,13 +86,15 @@ if($uri == "/")
|
||||||
// Try to detect if page is loaded within iframe
|
// Try to detect if page is loaded within iframe
|
||||||
if(inIframe())
|
if(inIframe())
|
||||||
{
|
{
|
||||||
// Within iframe -> hide page
|
// Within iframe
|
||||||
|
// hide content of page
|
||||||
$('#body').hide();
|
$('#body').hide();
|
||||||
// set white background
|
// remove background
|
||||||
document.body.style.backgroundImage = "none";
|
document.body.style.backgroundImage = "none";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
// Query adlists
|
||||||
$( "#btnSearch" ).click();
|
$( "#btnSearch" ).click();
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
|
|
Loading…
Add table
Reference in a new issue