mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-25 09:00:25 +00:00
b353dd77a8
Also remove most of the rest of the javascript as it is unused.
9 lines
272 B
JavaScript
9 lines
272 B
JavaScript
function CheckPSK(psk, id) {
|
|
if(psk.value.length < 8 || psk.value.length > 63) {
|
|
psk.style.background='#FFD0D0';
|
|
document.getElementById(id).disabled = true;
|
|
} else {
|
|
psk.style.background='#D0FFD0';
|
|
document.getElementById(id).disabled = false;
|
|
}
|
|
}
|