mirror of
https://github.com/pi-hole/web.git
synced 2025-12-23 04:08:39 +00:00
Move PHP scripts to scripts folder
This commit is contained in:
7
scripts/pi-hole/js/help.js
Normal file
7
scripts/pi-hole/js/help.js
Normal file
@@ -0,0 +1,7 @@
|
||||
$( "#flush" ).click(function() {
|
||||
if (confirm("Are you sure you want to flush the Pi-hole log file?")) {
|
||||
document.location.href="../../help.php";
|
||||
} else {
|
||||
// Do nothing!
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user