aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-15 22:58:32 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-06-15 22:58:32 +0530
commit920c4837acbba57fb1c51941770586c89436bc61 (patch)
treeadab786c0b6ef869ee7c062bb3affdda7b43ace3 /src/scripts
parent8b7f56048cb8dce1cd41225a059b82b1e782299b (diff)
downloadbanglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.tar.gz
banglar-bhumi-utils-920c4837acbba57fb1c51941770586c89436bc61.zip
Updated README.md + Some minor changes.
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/captcha/application-receipt.ts1
-rw-r--r--src/scripts/captcha/know-your-property.ts6
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;
+});