Remove references to form.active.

HTMLFormElement does not have an "active" member.
This commit is contained in:
Juliusz Chroboczek
2025-08-22 12:18:37 +02:00
parent 7bf098a57c
commit 594e1c2032
-2
View File
@@ -497,7 +497,6 @@ function gotClose(code, reason) {
let form = document.getElementById('loginform');
if(!(form instanceof HTMLFormElement))
throw new Error('Bad type for loginform');
form.active = true;
}
/**
@@ -4341,7 +4340,6 @@ document.getElementById('loginform').onsubmit = async function(e) {
getInputElement('presentoff').checked = true;
// Connect to the server, gotConnected will join.
form.active = false;
serverConnect();
};