Move all files from /scripts/pi-hole/ to /scripts/

Signed-off-by: yubiuser <github@yubiuser.dev>
This commit is contained in:
yubiuser
2024-10-28 20:22:09 +01:00
parent 732932a162
commit 1e922a8b29
58 changed files with 101 additions and 101 deletions

15
scripts/js/logout.js Normal file
View File

@@ -0,0 +1,15 @@
/* Pi-hole: A black hole for Internet advertisements
* (c) 2023 Pi-hole, LLC (https://pi-hole.net)
* Network-wide ad blocking via your own hardware.
*
* This file is copyright under the latest version of the EUPL.
* Please see LICENSE file for your rights under this license. */
/* global utils:false */
document.addEventListener("DOMContentLoaded", () => {
const logoutButton = document.getElementById("logout-button");
logoutButton.addEventListener("click", () => {
utils.doLogout();
});
});