join: remove empty field
All checks were successful
/ deploy (push) Successful in 30s

This commit is contained in:
forgejo-actions[bot] 2024-10-08 15:06:48 +00:00
parent c267aff246
commit 30b4c87910
5 changed files with 2 additions and 12 deletions

View file

@ -21,7 +21,6 @@
async function createIssue() {
var baseurl = 'https://lab.ilot.io/api/v4/projects/99/issues?&labels=Request';
var emptyfield = document.getElementById("emptyfield").value;
var mathspamtrap = document.getElementById("math-spam-trap").value;
var agreetoterms = document.getElementById("agree-to-terms").checked;
var email = document.getElementById("email").value;
@ -36,11 +35,6 @@
return false;
}
if(emptyfield) {
alert("Empty field should be empty");
return false;
}
if(mathspamtrap != "9") {
alert("Wrong math answer");
return false;