billing helpers: Add missing $ prefix to jQuery object parameter.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2024-05-23 15:15:49 -07:00 committed by Anders Kaseorg
parent 27b5c61399
commit 26fd6be88f
1 changed files with 2 additions and 2 deletions

View File

@ -157,8 +157,8 @@ export function update_discount_details(
$("#sponsorship-discount-details").text(discount_notice);
}
export function is_valid_input(elem: JQuery<HTMLFormElement>): boolean {
return elem[0].checkValidity();
export function is_valid_input($elem: JQuery<HTMLFormElement>): boolean {
return $elem[0].checkValidity();
}
export function redirect_to_billing_with_successful_upgrade(billing_base_url: string): void {