diff options
Diffstat (limited to 'src/scripts')
| -rw-r--r-- | src/scripts/captcha/application-receipt.ts | 1 | ||||
| -rw-r--r-- | src/scripts/captcha/know-your-property.ts | 6 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/scripts/captcha/application-receipt.ts b/src/scripts/captcha/application-receipt.ts index 5ff1a57..595195e 100644 --- a/src/scripts/captcha/application-receipt.ts +++ b/src/scripts/captcha/application-receipt.ts @@ -1,5 +1,4 @@ document.addEventListener("DOMContentLoaded", () => { $("#werter > div > form > div:nth-child(4)").hide(); (window as any).validateForm = () => true; - const captchaElement = $("#werter > div > div:nth-child(4)"); }); diff --git a/src/scripts/captcha/know-your-property.ts b/src/scripts/captcha/know-your-property.ts index eac33f1..6e11a3f 100644 --- a/src/scripts/captcha/know-your-property.ts +++ b/src/scripts/captcha/know-your-property.ts @@ -1,2 +1,4 @@ -(window as any).validateCaptcha = () => true; -$("#khatianPlotDiv > div:nth-child(6) > div").hide(); +document.addEventListener("DOMContentLoaded", () => { + $("#khatianPlotDiv > div:nth-child(6) > div").hide(); + (window as any).validateCaptcha = () => true; +}); |
