aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/captcha/know-your-property.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/scripts/captcha/know-your-property.ts')
-rw-r--r--src/scripts/captcha/know-your-property.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/scripts/captcha/know-your-property.ts b/src/scripts/captcha/know-your-property.ts
index 6e11a3f..3abdf08 100644
--- a/src/scripts/captcha/know-your-property.ts
+++ b/src/scripts/captcha/know-your-property.ts
@@ -1,3 +1,8 @@
+/**
+ * Hides the CAPTCHA section on the Know-Your-Property page and
+ * stubs the captcha validation so the user can proceed without
+ * solving a CAPTCHA.
+ */
document.addEventListener("DOMContentLoaded", () => {
$("#khatianPlotDiv > div:nth-child(6) > div").hide();
(window as any).validateCaptcha = () => true;