From 6f6c263a072c9df4e826d8ebb2035c82a87be7e0 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Mon, 13 Jul 2026 20:49:57 +0530 Subject: refactor: organised the scripts into a more well defined structure now all scripts that are common to all pages lie in src/scripts/common each page gets its own folder in src/pages and different parts of the page's configuration are separated in separated folders which are all finally imported in src/pages/*/index.ts --- src/scripts/captcha/application-receipt.ts | 9 --------- src/scripts/captcha/know-your-property.ts | 9 --------- 2 files changed, 18 deletions(-) delete mode 100644 src/scripts/captcha/application-receipt.ts delete mode 100644 src/scripts/captcha/know-your-property.ts (limited to 'src/scripts/captcha') diff --git a/src/scripts/captcha/application-receipt.ts b/src/scripts/captcha/application-receipt.ts deleted file mode 100644 index c5bb657..0000000 --- a/src/scripts/captcha/application-receipt.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * Hides the CAPTCHA section on the application-receipt page and - * stubs the form validation so the user can proceed without - * solving a CAPTCHA. - */ -document.addEventListener("DOMContentLoaded", () => { - $("#werter > div > form > div:nth-child(4)").hide(); - (window as any).validateForm = () => true; -}); diff --git a/src/scripts/captcha/know-your-property.ts b/src/scripts/captcha/know-your-property.ts deleted file mode 100644 index 3abdf08..0000000 --- a/src/scripts/captcha/know-your-property.ts +++ /dev/null @@ -1,9 +0,0 @@ -/** - * 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; -}); -- cgit v1.2.3