Commit Graph

7 Commits

Author SHA1 Message Date
Adam Warner
d9a7acf3c3 Modernize JS and tighten things (#3388) 2025-04-24 18:17:04 +01:00
XhmikosR
756239a6dd xo: enable strict mode
Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-04-23 20:50:12 +03:00
Adam Warner
4b33fbc91b use optional chaining for logout button event listener - ensures error not thrown when password is empty
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
2025-04-23 18:09:59 +01:00
DL6ER
58616bc8af Remove remaining hard-coded /admin/ paths in the webinterface
Signed-off-by: DL6ER <dl6er@dl6er.de>
2025-03-31 21:43:57 +02:00
XhmikosR
6c29d5dab8 Logout: fix redirect
Without this, we were getting into a loop with keep alive enabled
when using Firefox.

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-24 08:29:40 +02:00
XhmikosR
3f689d0f55 logout.js: add missing preventDefault call
Without it the target `#` is followed which is not wanted

Signed-off-by: XhmikosR <xhmikosr@gmail.com>
2025-03-08 22:26:31 +02:00
yubiuser
1e922a8b29 Move all files from /scripts/pi-hole/ to /scripts/
Signed-off-by: yubiuser <github@yubiuser.dev>
2024-10-28 20:22:09 +01:00