From d6682a1ed9acd31dbfdb9e645cc8230c61a268c3 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Sat, 25 Mar 2023 09:21:11 +0530 Subject: Disable minification in development. --- src/scripts/functionality/application-receipt.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/scripts/functionality') 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; -- cgit v1.2.3