diff --git a/assets/js/bestellformular.js b/assets/js/bestellformular.js index b7c81c8..0467bdd 100644 --- a/assets/js/bestellformular.js +++ b/assets/js/bestellformular.js @@ -43,8 +43,6 @@ const captchaInput = document.querySelectorAll('.captcha-input') const captchaVerifyButton = document.querySelectorAll('.captcha-verify') // Form fields -const subjectField = document.getElementById('subject') -const messageField = document.getElementById('description') const botBadge = document.createElement('div') if (debugEnabled) { @@ -117,9 +115,6 @@ function validateZSRNumber(form) { function checkForBotBehavior() { let timeSpent = (Date.now() - startTime) / 1000 botDetected = - subjectField.value === "I promised." || -// or if messageField Has string "Hi, this is" in it - messageField.value.startsWith("Hi, this is") || !userInteracted || interactionCount === 0 || timeSpent < interactionThreshold ||