diff --git a/src/static/webldappasswd.js b/src/static/webldappasswd.js index 8772f47..4ee5c27 100644 --- a/src/static/webldappasswd.js +++ b/src/static/webldappasswd.js @@ -87,7 +87,7 @@ function clearFields() { function changePasswords() { const query = {}; - if(!fields().every(field.value.length != 0)) { + if(!fields().every(field => field.value.length != 0)) { showModal("FillAllFields"); return; }