diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-25 09:21:11 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2023-03-25 09:36:24 +0530 |
| commit | d6682a1ed9acd31dbfdb9e645cc8230c61a268c3 (patch) | |
| tree | 63c5577b701c377896f4aa2985adf67f7aa3d679 /src/scripts/functionality | |
| parent | feac7acb91a78b117241abdd0a5d80f778e15f06 (diff) | |
| download | banglar-bhumi-utils-d6682a1ed9acd31dbfdb9e645cc8230c61a268c3.tar.gz banglar-bhumi-utils-d6682a1ed9acd31dbfdb9e645cc8230c61a268c3.zip | |
Disable minification in development.
Diffstat (limited to 'src/scripts/functionality')
| -rw-r--r-- | src/scripts/functionality/application-receipt.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/scripts/functionality/application-receipt.ts b/src/scripts/functionality/application-receipt.ts index 7fdf4d0..878b910 100644 --- a/src/scripts/functionality/application-receipt.ts +++ b/src/scripts/functionality/application-receipt.ts @@ -1,4 +1,4 @@ -const receiptFormElement = document.querySelector("#form_reprint_request") as HTMLElement; +const receiptFormElement = document.getElementById("form_reprint_request") as HTMLElement; receiptFormElement.removeAttribute("id"); receiptFormElement.removeAttribute("name"); receiptFormElement.removeAttribute("onsubmit"); @@ -10,7 +10,7 @@ let captchaElement = document.querySelector("#werter > div > div:nth-child(4)") if (captchaElement) { captchaElement = captchaElement!; - const captchaValueElement = document.querySelector("#captchaText") as HTMLInputElement; + const captchaValueElement = document.getElementById("captchaText") as HTMLInputElement; const captchaFieldElement = document.querySelector("[name=txtDrawText]") as HTMLInputElement; const removeCaptcha = () => { captchaFieldElement.value = captchaValueElement.value; |
