Dominik
cb6da5677f
settings-api: fix wrong code ( #3463 )
2025-05-17 15:09:39 +02:00
XhmikosR
c72b7b872f
settings-api: fix wrong code
...
`ids` is an array so `id` is the value when using a for...of loop.
Also, switch to Number.isInteger since we expect the IDs to be numbers
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-16 11:19:37 +03:00
XhmikosR
f69df08a08
Fix deprecated ready function
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-15 18:17:31 +03:00
XhmikosR
612a110109
settings-api: fix deprecated keyup() function
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-05-01 19:59:09 +03:00
XhmikosR
756239a6dd
xo: enable strict mode
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-23 20:50:12 +03:00
XhmikosR
f598a8e35c
Manual xo fixes and suppressions
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-23 07:53:16 +03:00
XhmikosR
f8a0a1d4ec
Tighten xo rules
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-23 07:53:13 +03:00
XhmikosR
addad5495a
Replace remaining i element cases with em
...
Signed-off-by: XhmikosR <xhmikosr@gmail.com >
2025-04-03 07:59:44 +03:00
DL6ER
b524a2f4b6
Always use document.body.dataset.apiurl instead of the intermediate const apiUrl
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2025-03-31 22:00:16 +02:00
DL6ER
a7f1ca7800
Allow path prefix multiplexing the dashboard and API. See https://github.com/pi-hole/FTL/pull/2319 for further details
...
Signed-off-by: DL6ER <dl6er@dl6er.de >
2025-03-02 20:20:10 +01: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