diff --git a/web/src/billing/helpers.ts b/web/src/billing/helpers.ts index 863acd5dae..442954fb68 100644 --- a/web/src/billing/helpers.ts +++ b/web/src/billing/helpers.ts @@ -157,8 +157,8 @@ export function update_discount_details( $("#sponsorship-discount-details").text(discount_notice); } -export function is_valid_input(elem: JQuery): boolean { - return elem[0].checkValidity(); +export function is_valid_input($elem: JQuery): boolean { + return $elem[0].checkValidity(); } export function redirect_to_billing_with_successful_upgrade(billing_base_url: string): void {