This commit is contained in:
parent
c267aff246
commit
30b4c87910
5 changed files with 2 additions and 12 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue