From 26fd6be88f9ce9c41e4f4f1523340c976b548737 Mon Sep 17 00:00:00 2001 From: Anders Kaseorg Date: Thu, 23 May 2024 15:15:49 -0700 Subject: [PATCH] billing helpers: Add missing $ prefix to jQuery object parameter. Signed-off-by: Anders Kaseorg --- web/src/billing/helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 {